diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-12-02 19:00:22 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-12-02 19:00:22 +0000 |
| commit | 352630141c9e4f0893b4df8e5ac9b3746cfdaf3c (patch) | |
| tree | 06c7dfec05d71f605bd232834247896448e8809d | |
| parent | f9b27d70110e5dc4554805d00409a4ff2f44a2a1 (diff) | |
| download | bcm5719-llvm-352630141c9e4f0893b4df8e5ac9b3746cfdaf3c.tar.gz bcm5719-llvm-352630141c9e4f0893b4df8e5ac9b3746cfdaf3c.zip | |
Revert my previous patch which broke due to lazy streaming of functions
from .bc files.
llvm-svn: 24575
| -rw-r--r-- | llvm/tools/lli/lli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 93eb6fce5d1..c1b7478a376 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -85,7 +85,7 @@ int main(int argc, char **argv, char * const *envp) { // 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; } |

