diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-11-03 01:50:46 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-11-03 01:50:46 -0700 |
commit | a89c1bed26fd05fc25034e43901c7f03351721a2 (patch) | |
tree | 1f269a69ecc25d84c2fd99070a9be79c491b0c9f /035lookup.cc | |
parent | a3195d440d2f0e99400db78e5a4386691c94a9a0 (diff) | |
download | mu-a89c1bed26fd05fc25034e43901c7f03351721a2.tar.gz |
4104
Stop hardcoding Max_depth everywhere; we had a default value for a reason but then we forgot all about it.
Diffstat (limited to '035lookup.cc')
-rw-r--r-- | 035lookup.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/035lookup.cc b/035lookup.cc index a0cb8fb2..343d7900 100644 --- a/035lookup.cc +++ b/035lookup.cc @@ -99,11 +99,11 @@ void lookup_memory(reagent& x) { void lookup_memory_core(reagent& x, bool check_for_null) { if (x.value == 0) return; - trace(9999, "mem") << "location " << x.value << " is " << no_scientific(get_or_insert(Memory, x.value)) << end(); + trace("mem") << "location " << x.value << " is " << no_scientific(get_or_insert(Memory, x.value)) << end(); x.set_value(get_or_insert(Memory, x.value)); drop_from_type(x, "address"); if (x.value) { - trace(9999, "mem") << "skipping refcount at " << x.value << end(); + trace("mem") << "skipping refcount at " << x.value << end(); x.set_value(x.value+1); // skip refcount } else if (check_for_null) { |