[llvm-commits] CVS: llvm/tools/lli/JIT/VM.h

Brian Gaeke gaeke at niobe.cs.uiuc.edu
Wed Aug 13 13:18:01 PDT 2003


Changes in directory llvm/tools/lli/JIT:

VM.h updated: 1.8 -> 1.9

---
Log message:

Deconstify parameter to getPointerToFunction().
Use a FunctionPassManager instead of a PassManager.


---
Diffs of the changes:

Index: llvm/tools/lli/JIT/VM.h
diff -u llvm/tools/lli/JIT/VM.h:1.8 llvm/tools/lli/JIT/VM.h:1.9
--- llvm/tools/lli/JIT/VM.h:1.8	Sun Jun  1 22:23:16 2003
+++ llvm/tools/lli/JIT/VM.h	Wed Aug 13 13:16:50 2003
@@ -19,7 +19,7 @@
 
 class VM : public ExecutionEngine {
   TargetMachine &TM;       // The current target we are compiling to
-  PassManager PM;          // Passes to compile a function
+  FunctionPassManager PM;  // Passes to compile a function
   MachineCodeEmitter *MCE; // MCE object
 
 public:
@@ -49,7 +49,7 @@
 
   /// getPointerToFunction - This returns the address of the specified function,
   /// compiling it if necessary.
-  void *getPointerToFunction(const Function *F);
+  void *getPointerToFunction(Function *F);
 
 private:
   static MachineCodeEmitter *createEmitter(VM &V);





More information about the llvm-commits mailing list