From: Chris Lattner Date: Mon, 22 Nov 2004 21:48:01 +0000 (+0000) Subject: These methods are now obsolete X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5eff98fd9fd20e179fb390d8f9a4498d3ac90303;p=oota-llvm.git These methods are now obsolete git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18128 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h index c8a08821385..1faac712170 100644 --- a/include/llvm/CodeGen/MachineCodeEmitter.h +++ b/include/llvm/CodeGen/MachineCodeEmitter.h @@ -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. //