aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
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
commit45730d71b69646afe0876dd03446b4df8b8d11f2 (patch)
tree51965e2157a65e877143468ed50a24d0be15d347 /lib/ExecutionEngine
parent2dbdc8e3fe31186fc1b4acd2ac363b540ef687ff (diff)
downloadexternal_llvm-45730d71b69646afe0876dd03446b4df8b8d11f2.zip
external_llvm-45730d71b69646afe0876dd03446b4df8b8d11f2.tar.gz
external_llvm-45730d71b69646afe0876dd03446b4df8b8d11f2.tar.bz2
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/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/JIT/JITEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 878c3c33b..8c1de88 100644
--- a/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -114,7 +114,7 @@ namespace {
virtual void emitWordAt(unsigned W, unsigned *Ptr);
virtual uint64_t getGlobalValueAddress(GlobalValue *V);
- virtual uint64_t getGlobalValueAddress(const std::string &Name);
+ virtual uint64_t getGlobalValueAddress(const char *Name);
virtual uint64_t getConstantPoolEntryAddress(unsigned Entry);
virtual uint64_t getCurrentPCValue();
@@ -224,7 +224,7 @@ uint64_t Emitter::getGlobalValueAddress(GlobalValue *V) {
return (intptr_t)TheJIT->getOrEmitGlobalVariable(cast<GlobalVariable>(V));
}
}
-uint64_t Emitter::getGlobalValueAddress(const std::string &Name) {
+uint64_t Emitter::getGlobalValueAddress(const char *Name) {
return (intptr_t)TheJIT->getPointerToNamedFunction(Name);
}