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

llvm-svn: 1026
This commit is contained in:
Chris Lattner 2001-10-29 14:00:48 +00:00
parent 1711dcbd29
commit c6503e8a2f
1 changed files with 1 additions and 1 deletions

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