diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-19 15:08:09 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-19 15:08:09 +0800 |
commit | 4c13ad983753f29a63fffbf9fccba3287099e4f7 (patch) | |
tree | ad601dd24dc4b1e2a4379791ccb294816f337f42 /src/main.cpp | |
parent | d59f99245160b865bde1b043dce8db69c713445b (diff) | |
download | mrust-4c13ad983753f29a63fffbf9fccba3287099e4f7.tar.gz |
Makefile - Compile rustc tests through to after MIR validation
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2ad64c4c..f65b3c67 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -537,6 +537,8 @@ ProgramParams::ProgramParams(int argc, char *argv[]) this->last_stage = STAGE_PARSE;
else if( strcmp(arg, "resolve") == 0 )
this->last_stage = STAGE_RESOLVE;
+ else if( strcmp(arg, "mir") == 0 )
+ this->last_stage = STAGE_MIR;
else {
::std::cerr << "Unknown argument to --stop-after : '" << arg << "'" << ::std::endl;
exit(1);
|