aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCodeEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-19 20:56:46 +0000
committerChris Lattner <sabre@nondot.org>2004-11-19 20:56:46 +0000
commitc27389815dddff4a0e45ab5cba3f3de77329b705 (patch)
tree5db120ad9c6a4f32fa6be25a59da665816fb816f /llvm/lib/CodeGen/MachineCodeEmitter.cpp
parent2d1c4962f3110c2845893b64dd1dcc500706667f (diff)
downloadllvm-c27389815dddff4a0e45ab5cba3f3de77329b705.zip
llvm-c27389815dddff4a0e45ab5cba3f3de77329b705.tar.gz
llvm-c27389815dddff4a0e45ab5cba3f3de77329b705.tar.bz2
Match change in MachineCodeEmitter prototype.
llvm-svn: 18009
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineCodeEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineCodeEmitter.cpp b/llvm/lib/CodeGen/MachineCodeEmitter.cpp
index 224c8c3..d9e8c88 100644
--- a/llvm/lib/CodeGen/MachineCodeEmitter.cpp
+++ b/llvm/lib/CodeGen/MachineCodeEmitter.cpp
@@ -48,7 +48,7 @@ namespace {
}
uint64_t getGlobalValueAddress(GlobalValue *V) { return 0; }
- uint64_t getGlobalValueAddress(const std::string &Name) { return 0; }
+ uint64_t getGlobalValueAddress(const char *Name) { return 0; }
uint64_t getConstantPoolEntryAddress(unsigned Num) { return 0; }
uint64_t getCurrentPCValue() { return 0; }
@@ -148,7 +148,7 @@ namespace {
uint64_t getGlobalValueAddress(GlobalValue *V) {
return MCE.getGlobalValueAddress(V);
}
- uint64_t getGlobalValueAddress(const std::string &Name) {
+ uint64_t getGlobalValueAddress(const char *Name) {
return MCE.getGlobalValueAddress(Name);
}
uint64_t getConstantPoolEntryAddress(unsigned Num) {