diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 11:56:10 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 11:56:10 -0700 |
commit | dd2e01e43e971c9325b343fa3e554097e829c508 (patch) | |
tree | 6c101a638967fc7120b9e421cf63837f1c9b6c86 /034call.cc | |
parent | b2ec0969e9f7ef7c3267545efbed907c15084695 (diff) | |
download | mu-dd2e01e43e971c9325b343fa3e554097e829c508.tar.gz |
2311
Diffstat (limited to '034call.cc')
-rw-r--r-- | 034call.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/034call.cc b/034call.cc index df358e6e..b6793c72 100644 --- a/034call.cc +++ b/034call.cc @@ -60,7 +60,7 @@ struct routine { routine::routine(recipe_ordinal r) { if (Trace_stream) { ++Trace_stream->callstack_depth; - trace("trace") << "new routine; incrementing callstack depth to " << Trace_stream->callstack_depth << end(); + trace(9999, "trace") << "new routine; incrementing callstack depth to " << Trace_stream->callstack_depth << end(); assert(Trace_stream->callstack_depth < 9000); // 9998-101 plus cushion } calls.push_front(call(r)); @@ -111,7 +111,7 @@ default: { // not a primitive; look up the book of recipes if (Trace_stream) { ++Trace_stream->callstack_depth; - trace("trace") << "incrementing callstack depth to " << Trace_stream->callstack_depth << end(); + trace(9999, "trace") << "incrementing callstack depth to " << Trace_stream->callstack_depth << end(); assert(Trace_stream->callstack_depth < 9000); // 9998-101 plus cushion } Current_routine->calls.push_front(call(current_instruction().operation)); @@ -151,7 +151,7 @@ inline const vector<instruction>& routine::steps() const { while (current_step_index() >= SIZE(Current_routine->steps())) { // Falling Through End Of Recipe if (Trace_stream) { - trace("trace") << "fall-through: exiting " << current_recipe_name() << "; decrementing callstack depth from " << Trace_stream->callstack_depth << end(); + trace(9999, "trace") << "fall-through: exiting " << current_recipe_name() << "; decrementing callstack depth from " << Trace_stream->callstack_depth << end(); --Trace_stream->callstack_depth; assert(Trace_stream->callstack_depth >= 0); } |