These methods are now obsolete
authorChris Lattner <sabre@nondot.org>
Mon, 22 Nov 2004 21:48:01 +0000 (21:48 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 22 Nov 2004 21:48:01 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18128 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineCodeEmitter.h

index c8a088213859e829990968662d30af203f1b0d08..1faac7121701c5eebf4f4d918b062f1d3d3ea63f 100644 (file)
@@ -89,16 +89,6 @@ public:
   /// 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.
   //