summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-14 23:30:42 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-14 23:30:42 +0800
commit96d4e630d2b64b3b3f3a13535fd6caada4d8ec58 (patch)
tree474f9d6d22b4a6a07aab1a22d83353f102746a14 /src/main.cpp
parent09475212bb54cb52ee35fe3cdc84401079f7469b (diff)
downloadmrust-96d4e630d2b64b3b3f3a13535fd6caada4d8ec58.tar.gz
Main - Disable logging from some chatty stable stages
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 453a420a..b76e9b12 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,14 +25,16 @@
int g_debug_indent_level = 0;
::std::string g_cur_phase;
+//::std::set< ::std::string> g_debug_disable_map;
bool debug_enabled()
{
//return true;
//return g_cur_phase != "Parse";
//return g_cur_phase != "Parse" && g_cur_phase != "Expand";
- return g_cur_phase != "Parse" && g_cur_phase != "Expand" && g_cur_phase != "Resolve";
- //return g_cur_phase != "Parse" && g_cur_phase != "Expand" && g_cur_phase != "Resolve" && g_cur_phase != "Typecheck Expressions";
+ //return g_cur_phase != "Parse" && g_cur_phase != "Expand" && g_cur_phase != "Resolve";
+ //return g_cur_phase != "Parse" && g_cur_phase != "Expand" && g_cur_phase != "Resolve" && g_cur_phase != "Resolve UFCS paths";
+ return g_cur_phase != "Parse" && g_cur_phase != "Expand" && g_cur_phase != "Resolve" && g_cur_phase != "Resolve UFCS paths" && g_cur_phase != "Typecheck Expressions";
//return false;
//return g_cur_phase == "Lower MIR";
}