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 | 45730d71b69646afe0876dd03446b4df8b8d11f2 (patch) | |
tree | 51965e2157a65e877143468ed50a24d0be15d347 /lib/CodeGen/MachineCodeEmitter.cpp | |
parent | 2dbdc8e3fe31186fc1b4acd2ac363b540ef687ff (diff) |
Match change in MachineCodeEmitter prototype.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCodeEmitter.cpp')
-rw-r--r-- | lib/CodeGen/MachineCodeEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp index 224c8c37cc..d9e8c88b9e 100644 --- a/lib/CodeGen/MachineCodeEmitter.cpp +++ b/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) { |