silence a vc2010 warning: " result of 32-bit shift implicitly converted to

64 bits (was 64-bit shift intended?)", pointed out by 'nobled' on llvmdev

llvm-svn: 111148
This commit is contained in:
Chris Lattner 2010-08-16 16:35:20 +00:00
parent 7312563612
commit e51188af11

View File

@ -769,7 +769,7 @@ public:
IsPCRel = 1;
FixedValue = (FixupAddress - Layout.getSymbolAddress(SD_B) +
Target.getConstant());
FixedValue += 1 << Log2Size;
FixedValue += 1ULL << Log2Size;
} else {
FixedValue = 0;
}