diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-16 01:24:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-16 01:24:12 +0000 |
commit | fe854034677f59baca1e38075e71f6efca247a03 (patch) | |
tree | fb271b47b99ed66ee0ac9f890b9d7bcfddc02aed /lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
parent | 2e6baf626d2096eade89e5305bc09e369a761516 (diff) |
initial changes to support JIT'ing from multiple module providers, implicitly
linking the program on the fly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 77b7b26667..67fa983d9e 100644 --- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -313,7 +313,7 @@ GenericValue lle_X_sprintf(FunctionType *M, const vector<GenericValue> &Args) { case 'x': case 'X': if (HowLong >= 1) { if (HowLong == 1 && - TheInterpreter->getModule().getPointerSize()==Module::Pointer64 && + TheInterpreter->getTargetData()->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. |