[llvm-commits] CVS: llvm/lib/CodeGen/MachineCodeEmitter.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 22 13:54:39 PST 2004



Changes in directory llvm/lib/CodeGen:

MachineCodeEmitter.cpp updated: 1.21 -> 1.22
---
Log message:

Fix the FIXME, nuke the JIT specific forceCompilationOf method.



---
Diffs of the changes:  (+0 -18)

Index: llvm/lib/CodeGen/MachineCodeEmitter.cpp
diff -u llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.21 llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.22
--- llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.21	Mon Nov 22 15:48:19 2004
+++ llvm/lib/CodeGen/MachineCodeEmitter.cpp	Mon Nov 22 15:54:26 2004
@@ -54,15 +54,6 @@
     uint64_t getConstantPoolEntryAddress(unsigned Num) { return 0; }
     uint64_t getCurrentPCValue() { return 0; }
     uint64_t getCurrentPCOffset() { return 0; }
-
-    // forceCompilationOf - Force the compilation of the specified function, and
-    // return its address, because we REALLY need the address now.
-    //
-    // FIXME: This is JIT specific!
-    //
-    virtual uint64_t forceCompilationOf(Function *F) {
-      return 0;
-    }
   };
 
   class FilePrinterEmitter : public MachineCodeEmitter {
@@ -160,15 +151,6 @@
     void addRelocation(const MachineRelocation &MR) {
       return MCE.addRelocation(MR);
     }
-
-    // forceCompilationOf - Force the compilation of the specified function, and
-    // return its address, because we REALLY need the address now.
-    //
-    // FIXME: This is JIT specific!
-    //
-    virtual uint64_t forceCompilationOf(Function *F) {
-      return MCE.forceCompilationOf(F);
-    }
   };
 }
 






More information about the llvm-commits mailing list