[llvm-commits] CVS: llvm/tools/lli/JIT/JIT.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun May 11 21:15:11 PDT 2003
Changes in directory llvm/tools/lli/JIT:
JIT.cpp updated: 1.1 -> 1.2
---
Log message:
Make sure that globals are emitted AFTER the passmanager is set up for the JIT,
because the globals may refer to functions that need to be compiled!
---
Diffs of the changes:
Index: llvm/tools/lli/JIT/JIT.cpp
diff -u llvm/tools/lli/JIT/JIT.cpp:1.1 llvm/tools/lli/JIT/JIT.cpp:1.2
--- llvm/tools/lli/JIT/JIT.cpp:1.1 Mon Dec 23 18:01:05 2002
+++ llvm/tools/lli/JIT/JIT.cpp Sun May 11 21:14:34 2003
@@ -33,6 +33,7 @@
MCE = createEmitter(*this); // Initialize MCE
setupPassManager();
registerCallback();
+ emitGlobals();
}
int VM::run(const std::string &FnName, const std::vector<std::string> &Args) {
More information about the llvm-commits
mailing list