summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-07-21 12:31:43 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-07-21 12:31:43 +0000
commit6c078a596051f4e9b7f2778065f83e02c9e852b9 (patch)
treea76f737538eedccceecb5c7d86dcc26a7252570f /llvm/lib/ExecutionEngine
parentc782aa5a9b5d2ae961754c070c88a162f1e436df (diff)
downloadbcm5719-llvm-6c078a596051f4e9b7f2778065f83e02c9e852b9.tar.gz
bcm5719-llvm-6c078a596051f4e9b7f2778065f83e02c9e852b9.zip
Fixing an MSVC conversion warning about implicitly converting the shift results to 64-bits. No functional change intended.
llvm-svn: 213515
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
index aba67f2e69e..58fb51557c9 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
@@ -90,7 +90,7 @@ void RuntimeDyldMachO::makeValueAddendPCRel(RelocationValueRef &Value,
uint64_t RelocAddr = 0;
RI->getAddress(RelocAddr);
unsigned RelocSize = Obj.getAnyRelocationLength(RelInfo);
- Value.Addend += RelocAddr + (1 << RelocSize);
+ Value.Addend += RelocAddr + (1ULL << RelocSize);
}
}
OpenPOWER on IntegriCloud