From e205ae4024312fe6ddd437ae0ac12990d103bb45 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 10 Jun 2017 10:48:34 +0800 Subject: MIR Gen - Fix incorrect codegen due to defaulting to 0 not ~0 --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 1b09b79b..af999dae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -63,6 +63,7 @@ void init_debug_list() g_debug_disable_map.insert( "Dump HIR" ); g_debug_disable_map.insert( "Lower MIR" ); g_debug_disable_map.insert( "MIR Validate" ); + g_debug_disable_map.insert( "MIR Validate Full Early" ); g_debug_disable_map.insert( "Dump MIR" ); g_debug_disable_map.insert( "Constant Evaluate Full" ); g_debug_disable_map.insert( "MIR Cleanup" ); @@ -450,7 +451,7 @@ int main(int argc, char *argv[]) }); if( getenv("MRUSTC_FULL_VALIDATE_PREOPT") ) { - CompilePhaseV("MIR Validate Full", [&]() { + CompilePhaseV("MIR Validate Full Early", [&]() { MIR_CheckCrate_Full(*hir_crate); }); } -- cgit v1.2.3