about summary refs log tree commit diff stats
path: root/043space.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-17 12:23:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-17 12:23:48 -0700
commitfe4bcd7e26927488583b437120ef597f22094f76 (patch)
tree672e59b49bdbf022a5be16145c0296cbd1988a09 /043space.cc
parente4fc73b1d73d7731f96e4c7692b96751ce1128bd (diff)
downloadmu-fe4bcd7e26927488583b437120ef597f22094f76.tar.gz
3215
Diffstat (limited to '043space.cc')
-rw-r--r--043space.cc6
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) {
class='oid'>45a26b11 ^
30b5f112 ^
71679a31 ^

45a26b11 ^


45a26b11 ^
30b5f112 ^
2f82f50a ^
86c1c388 ^
1a3dc91e ^
30b5f112 ^


fbc30231 ^

















cd2458c0 ^

0ae975c2 ^

b21edfaa ^
1900402f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78