[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineCodeEmitter.h

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



Changes in directory llvm/include/llvm/CodeGen:

MachineCodeEmitter.h updated: 1.23 -> 1.24
---
Log message:

These methods are now obsolete


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

Index: llvm/include/llvm/CodeGen/MachineCodeEmitter.h
diff -u llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.23 llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.24
--- llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.23	Sat Nov 20 17:52:43 2004
+++ llvm/include/llvm/CodeGen/MachineCodeEmitter.h	Mon Nov 22 15:48:01 2004
@@ -89,16 +89,6 @@
   /// noted with this interface.
   virtual void addRelocation(const MachineRelocation &MR) = 0;
   
-  /// getGlobalValueAddress - This method is used to get the address of the
-  /// specified global value.  In some cases, however, the address may not yet
-  /// be known at the point that the method is called (for example, getting the
-  /// address of a function which has not yet been code generated).  If this is
-  /// the case, the function returns zero, and the callee has to be able to
-  /// handle the situation.
-  ///
-  virtual uint64_t getGlobalValueAddress(GlobalValue *V) = 0;
-  virtual uint64_t getGlobalValueAddress(const char *SymName) = 0;
-
   // getConstantPoolEntryAddress - Return the address of the 'Index' entry in
   // the constant pool that was last emitted with the 'emitConstantPool' method.
   //






More information about the llvm-commits mailing list