[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/Emitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 19 12:56:52 PST 2004
Changes in directory llvm/lib/ExecutionEngine/JIT:
Emitter.cpp updated: 1.47 -> 1.48
---
Log message:
Match change in MachineCodeEmitter prototype.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/ExecutionEngine/JIT/Emitter.cpp
diff -u llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.47 llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.48
--- llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.47 Mon Nov 15 17:20:04 2004
+++ llvm/lib/ExecutionEngine/JIT/Emitter.cpp Fri Nov 19 14:56:40 2004
@@ -114,7 +114,7 @@
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 @@
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);
}
More information about the llvm-commits
mailing list