Changes in directory llvm/tools/lli:

lli.cpp updated: 1.51 -> 1.52
---
Log message:

Revert my previous patch which broke due to lazy streaming of functions
from .bc files.


---
Diffs of the changes:  (+1 -1)

 lli.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/tools/lli/lli.cpp
diff -u llvm/tools/lli/lli.cpp:1.51 llvm/tools/lli/lli.cpp:1.52
--- llvm/tools/lli/lli.cpp:1.51 Thu Dec  1 16:48:23 2005
+++ llvm/tools/lli/lli.cpp      Fri Dec  2 13:00:22 2005
@@ -85,7 +85,7 @@
     // EnvVars to determine envp.
     //
     Function *Fn = MP->getModule()->getMainFunction();
-    if (!Fn || Fn->isExternal()) {
+    if (!Fn) {
       std::cerr << "'main' function not found in module.\n";
       return -1;
     }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to