diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-17 12:23:48 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-17 12:23:48 -0700 |
commit | fe4bcd7e26927488583b437120ef597f22094f76 (patch) | |
tree | 672e59b49bdbf022a5be16145c0296cbd1988a09 | |
parent | e4fc73b1d73d7731f96e4c7692b96751ce1128bd (diff) | |
download | mu-fe4bcd7e26927488583b437120ef597f22094f76.tar.gz |
3215
-rw-r--r-- | 043space.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/043space.cc b/043space.cc index b6bb82dd..024f61d1 100644 --- a/043space.cc +++ b/043space.cc @@ -284,9 +284,9 @@ bool should_update_refcounts_in_write_memory() { // End should_update_refcounts_in_write_memory Special-cases For Primitives if (inst.operation < MAX_PRIMITIVE_RECIPES) return true; if (!contains_key(Recipe, inst.operation)) return true; - const recipe& caller = get(Recipe, inst.operation); - if (caller.steps.empty()) return true; - return caller.steps.at(0).old_name != "local-scope"; // callees that call local-scope are already dealt with before return + const recipe& callee = get(Recipe, inst.operation); + if (callee.steps.empty()) return true; + return callee.steps.at(0).old_name != "local-scope"; // callees that call local-scope are already dealt with before return } bool caller_uses_product(int product_index) { |