Oops, accidentally broke reading from stdin when doing command line arguments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1026 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-10-29 14:00:48 +00:00
parent b82f5e7c00
commit aa7420b35b

View 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();