Oops, accidentally broke reading from stdin when doing command line arguments
authorChris Lattner <sabre@nondot.org>
Mon, 29 Oct 2001 14:00:48 +0000 (14:00 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 29 Oct 2001 14:00:48 +0000 (14:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1026 91177308-0d34-0410-b5e6-96231b3b80d8

tools/lli/lli.cpp

index 798c5005f6cc7157b894ed167ffbbaaff9c0a7f7..7f4ef1d7e75585f7774903f0076e8c390d5f55a6 100644 (file)
@@ -24,7 +24,7 @@ cl::Flag   ProfileMode  ("profile", "Enable Profiling [unimp]");
 Interpreter::Interpreter() : ExitCode(0), Profile(ProfileMode), 
                              Trace(TraceMode), CurFrame(-1) {
   CurMod = 0;
-  loadModule(InputArgv.size() ? InputArgv[0] : "");
+  loadModule(InputArgv.size() ? InputArgv[0] : "-");
 
   // Initialize the "backend"
   initializeExecutionEngine();