diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-04-22 23:06:11 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-04-22 23:06:11 +0800 |
commit | 3566204a863b11ba1202807881fe3dd0be0d0817 (patch) | |
tree | 6c0180ad67544361553bd0bc455ea1a170188890 /src/mir/helpers.cpp | |
parent | aea444c2dcceab61aa6632f014602bf7043e6a74 (diff) | |
download | mrust-3566204a863b11ba1202807881fe3dd0be0d0817.tar.gz |
MIR Helpers - (minor) debug output in variable lifetime calc
Diffstat (limited to 'src/mir/helpers.cpp')
-rw-r--r-- | src/mir/helpers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mir/helpers.cpp b/src/mir/helpers.cpp index d70fda95..30b5eef5 100644 --- a/src/mir/helpers.cpp +++ b/src/mir/helpers.cpp @@ -737,17 +737,17 @@ namespace { if( !bb_memory_ent.has_state() ) { // No recorded state, needs to be visited - DEBUG(state << " " << new_state.index << " -> bb" << new_bb_idx << " (no existing state)"); + DEBUG(state << " state" << new_state.index << " -> bb" << new_bb_idx << " (no existing state)"); } else if( bb_memory_ent.try_merge(new_state) ) { // This state has new information, needs to be visited - DEBUG(state << " " << new_state.index << " -> bb" << new_bb_idx << " (new info)"); + DEBUG(state << " state" << new_state.index << " -> bb" << new_bb_idx << " (new info)"); } else { // Skip - DEBUG(state << " " << new_state.index << " No new state before push (to bb" << new_bb_idx << "), applying"); + DEBUG(state << " state" << new_state.index << " -> bb" << new_bb_idx << " - No new state, no push"); apply_state(new_state); return ; } |