From 213e39ee7cd54853337980ff3b0b9d45230c04d0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 22 Nov 2004 21:48:33 +0000 Subject: These methods are obsolete llvm-svn: 18129 --- llvm/lib/CodeGen/MachineCodeEmitter.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp') diff --git a/llvm/lib/CodeGen/MachineCodeEmitter.cpp b/llvm/lib/CodeGen/MachineCodeEmitter.cpp index c64366cded0..3e955b02835 100644 --- a/llvm/lib/CodeGen/MachineCodeEmitter.cpp +++ b/llvm/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