[llvm-commits] CVS: llvm/tools/lli/ExecutionEngine.cpp lli.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Sep 4 17:58:02 PDT 2003
Changes in directory llvm/tools/lli:
ExecutionEngine.cpp updated: 1.25 -> 1.26
lli.cpp updated: 1.24 -> 1.25
---
Log message:
Move EE dtor where it belongs
---
Diffs of the changes:
Index: llvm/tools/lli/ExecutionEngine.cpp
diff -u llvm/tools/lli/ExecutionEngine.cpp:1.25 llvm/tools/lli/ExecutionEngine.cpp:1.26
--- llvm/tools/lli/ExecutionEngine.cpp:1.25 Thu Sep 4 17:21:22 2003
+++ llvm/tools/lli/ExecutionEngine.cpp Thu Sep 4 17:57:27 2003
@@ -20,6 +20,10 @@
Statistic<> NumInitBytes("lli", "Number of bytes of global vars initialized");
+ExecutionEngine::~ExecutionEngine() {
+ delete &CurMod;
+}
+
ExecutionEngine *ExecutionEngine::create (Module *M, bool ForceInterpreter,
bool TraceMode) {
ExecutionEngine *EE = 0;
Index: llvm/tools/lli/lli.cpp
diff -u llvm/tools/lli/lli.cpp:1.24 llvm/tools/lli/lli.cpp:1.25
--- llvm/tools/lli/lli.cpp:1.24 Thu Sep 4 17:21:22 2003
+++ llvm/tools/lli/lli.cpp Thu Sep 4 17:57:27 2003
@@ -34,14 +34,6 @@
}
//===----------------------------------------------------------------------===//
-// ExecutionEngine Class Implementation
-//
-
-ExecutionEngine::~ExecutionEngine() {
- delete &CurMod;
-}
-
-//===----------------------------------------------------------------------===//
// main Driver function
//
int main(int argc, char** argv, const char ** envp) {
More information about the llvm-commits
mailing list