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

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 22 13:48:31 PST 2004



Changes in directory llvm/lib/CodeGen:

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

These methods are obsolete


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

Index: llvm/lib/CodeGen/MachineCodeEmitter.cpp
diff -u llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.20 llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.21
--- llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.20	Sat Nov 20 17:52:52 2004
+++ llvm/lib/CodeGen/MachineCodeEmitter.cpp	Mon Nov 22 15:48:19 2004
@@ -51,8 +51,6 @@
       std::cout << "<relocation> ";
     }
 
-    uint64_t getGlobalValueAddress(GlobalValue *V) { return 0; }
-    uint64_t getGlobalValueAddress(const char *Name) { return 0; }
     uint64_t getConstantPoolEntryAddress(unsigned Num) { return 0; }
     uint64_t getCurrentPCValue() { return 0; }
     uint64_t getCurrentPCOffset() { return 0; }
@@ -150,12 +148,6 @@
     void emitWordAt(unsigned W, unsigned *Ptr) {
       MCE.emitWordAt(W, Ptr);
     }
-    uint64_t getGlobalValueAddress(GlobalValue *V) {
-      return MCE.getGlobalValueAddress(V);
-    }
-    uint64_t getGlobalValueAddress(const char *Name) {
-      return MCE.getGlobalValueAddress(Name);
-    }
     uint64_t getConstantPoolEntryAddress(unsigned Num) {
       return MCE.getConstantPoolEntryAddress(Num);
     }






More information about the llvm-commits mailing list