[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
Reid Spencer
reid at x10sys.com
Mon Feb 5 13:19:53 PST 2007
Changes in directory llvm/lib/ExecutionEngine:
ExecutionEngine.cpp updated: 1.102 -> 1.103
---
Log message:
For PR411: http://llvm.org/PR411 :
Adjust to changes in Module interface:
getMainFunction() -> getFunction("main")
getNamedFunction(X) -> getFunction(X)
---
Diffs of the changes: (+1 -1)
ExecutionEngine.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.102 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.103
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.102 Tue Jan 30 14:08:37 2007
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp Mon Feb 5 15:19:13 2007
@@ -54,7 +54,7 @@
/// general code.
Function *ExecutionEngine::FindFunctionNamed(const char *FnName) {
for (unsigned i = 0, e = Modules.size(); i != e; ++i) {
- if (Function *F = Modules[i]->getModule()->getNamedFunction(FnName))
+ if (Function *F = Modules[i]->getModule()->getFunction(FnName))
return F;
}
return 0;
More information about the llvm-commits
mailing list