[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 15 18:24:27 PDT 2006



Changes in directory llvm/lib/ExecutionEngine/Interpreter:

ExternalFunctions.cpp updated: 1.87 -> 1.88
---
Log message:

initial changes to support JIT'ing from multiple module providers, implicitly
linking the program on the fly.


---
Diffs of the changes:  (+1 -1)

 ExternalFunctions.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.87 llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.88
--- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.87	Thu Jun  1 12:27:11 2006
+++ llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp	Tue Aug 15 20:24:12 2006
@@ -313,7 +313,7 @@
       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.






More information about the llvm-commits mailing list