From 6f71720be3c67f6bffd3976805e577995d779a2f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 22 Nov 2004 21:48:33 +0000 Subject: These methods are obsolete git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18129 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineCodeEmitter.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/CodeGen/MachineCodeEmitter.cpp') diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp index c64366cded..3e955b0283 100644 --- a/lib/CodeGen/MachineCodeEmitter.cpp +++ b/lib/CodeGen/MachineCodeEmitter.cpp @@ -51,8 +51,6 @@ namespace { std::cout << " "; } - 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 @@ namespace { 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); } -- cgit v1.2.3