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

Brian Gaeke gaeke at cs.uiuc.edu
Fri Oct 24 14:59:34 PDT 2003


Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.35 -> 1.36

---
Log message:

ExecutionEngine::create no longer takes a TraceMode argument.


---
Diffs of the changes:  (+4 -5)

Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.35 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.36
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.35	Mon Oct 20 14:43:16 2003
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Fri Oct 24 14:58:38 2003
@@ -47,18 +47,17 @@
 /// NULL is returned. 
 ///
 ExecutionEngine *ExecutionEngine::create(ModuleProvider *MP, 
-                                         bool ForceInterpreter,
-                                         bool TraceMode) {
+                                         bool ForceInterpreter) {
   ExecutionEngine *EE = 0;
 
-  // If there is nothing that is forcing us to use the interpreter, make a JIT.
-  if (!ForceInterpreter && !TraceMode)
+  // Unless the interpreter was explicitly selected, make a JIT.
+  if (!ForceInterpreter)
     EE = VM::create(MP);
 
   // If we can't make a JIT, make an interpreter instead.
   try {
     if (EE == 0)
-      EE = Interpreter::create(MP->materializeModule(), TraceMode);
+      EE = Interpreter::create(MP->materializeModule());
   } catch (...) {
     EE = 0;
   }





More information about the llvm-commits mailing list