[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h

Chris Lattner lattner at cs.uiuc.edu
Sun Dec 28 03:49:01 PST 2003


Changes in directory llvm/include/llvm/ExecutionEngine:

ExecutionEngine.h updated: 1.24 -> 1.25

---
Log message:

We may now pass IntrinsicLowering implementations into these methods



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

Index: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
diff -u llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.24 llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.25
--- llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.24	Fri Dec 26 00:50:15 2003
+++ llvm/include/llvm/ExecutionEngine/ExecutionEngine.h	Sun Dec 28 03:48:17 2003
@@ -30,6 +30,7 @@
 class ModuleProvider;
 class TargetData;
 class Type;
+class IntrinsicLowering;
 
 class ExecutionEngine {
   Module &CurMod;
@@ -54,8 +55,10 @@
   const TargetData &getTargetData() const { return *TD; }
 
   /// create - This is the factory method for creating an execution engine which
-  /// is appropriate for the current machine.
-  static ExecutionEngine *create(ModuleProvider *MP, bool ForceInterpreter);
+  /// is appropriate for the current machine.  If specified, the
+  /// IntrinsicLowering implementation should be allocated on the heap.
+  static ExecutionEngine *create(ModuleProvider *MP, bool ForceInterpreter,
+                                 IntrinsicLowering *IL = 0);
 
   /// runFunction - Execute the specified function with the specified arguments,
   /// and return the result.





More information about the llvm-commits mailing list