commit | fb384d61c78b60787ed65475d8403aee65023962 | [log] [tgz] |
---|---|---|
author | Micah Villmow <villmow@gmail.com> | Thu Oct 11 21:27:41 2012 +0000 |
committer | Micah Villmow <villmow@gmail.com> | Thu Oct 11 21:27:41 2012 +0000 |
tree | 7bf869f21ac85ae4ddbeea3069784c88381bd07e | |
parent | d9a3bad4487dee0b9ed1a0f5555dffe605826158 [diff] [blame] |
Revert 165732 for further review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165747 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index f58adbe..e16e2d1 100644 --- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -376,7 +376,7 @@ case 'x': case 'X': if (HowLong >= 1) { if (HowLong == 1 && - TheInterpreter->getDataLayout()->getPointerSizeInBits(0) == 64 && + TheInterpreter->getDataLayout()->getPointerSizeInBits() == 64 && sizeof(long) < sizeof(int64_t)) { // Make sure we use %lld with a 64 bit argument because we might be // compiling LLI on a 32 bit compiler.