summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-19 15:08:09 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-19 15:08:09 +0800
commit4c13ad983753f29a63fffbf9fccba3287099e4f7 (patch)
treead601dd24dc4b1e2a4379791ccb294816f337f42 /src/main.cpp
parentd59f99245160b865bde1b043dce8db69c713445b (diff)
downloadmrust-4c13ad983753f29a63fffbf9fccba3287099e4f7.tar.gz
Makefile - Compile rustc tests through to after MIR validation
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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);