These methods are obsolete

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-11-22 21:48:33 +00:00
parent 5eff98fd9f
commit 6f71720be3
2 changed files with 1 additions and 29 deletions

View File

@@ -51,8 +51,6 @@ namespace {
std::cout << "<relocation> ";
}
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);
}