diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-05-15 23:22:08 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-05-15 23:22:08 -0700 |
commit | c9cf358c0e34525efbb283f01dcb79816677f056 (patch) | |
tree | 66c6d2c12c5b9b86dcc5c12665c962d7ade28593 | |
parent | ecfa21dd5a107e8a8d05c36ca2a2c4a018e383a5 (diff) | |
download | mu-c9cf358c0e34525efbb283f01dcb79816677f056.tar.gz |
4246
-rw-r--r-- | 035lookup.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/035lookup.cc b/035lookup.cc index 0f40f89e..7247b6a7 100644 --- a/035lookup.cc +++ b/035lookup.cc @@ -85,7 +85,6 @@ void lookup_memory_core(reagent& x, bool check_for_null) { if (x.value == 0) return; 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 (check_for_null && x.value == 0) { if (Current_routine) { raise << maybe(current_recipe_name()) << "tried to lookup 0 in '" << to_original_string(current_instruction()) << "'\n" << end(); @@ -95,6 +94,7 @@ void lookup_memory_core(reagent& x, bool check_for_null) { raise << "tried to lookup 0\n" << end(); } } + drop_from_type(x, "address"); drop_one_lookup(x); } |