From fe4bcd7e26927488583b437120ef597f22094f76 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 17 Aug 2016 12:23:48 -0700 Subject: 3215 --- 043space.cc | 6 +++--- 1 file 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) { -- cgit 1.4.1-2-gfad0