diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-19 20:56:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-19 20:56:46 +0000 |
commit | c27389815dddff4a0e45ab5cba3f3de77329b705 (patch) | |
tree | 5db120ad9c6a4f32fa6be25a59da665816fb816f /llvm/lib/CodeGen/MachineCodeEmitter.cpp | |
parent | 2d1c4962f3110c2845893b64dd1dcc500706667f (diff) | |
download | llvm-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.cpp | 4 |
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) { |