public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adce53f
)
dont count when USE_TMP is not defined
author
ceriel
<none@none>
Tue, 1 Sep 1987 10:41:35 +0000
(10:41 +0000)
committer
ceriel
<none@none>
Tue, 1 Sep 1987 10:41:35 +0000
(10:41 +0000)
lang/cem/cemcom/util.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom/util.c
b/lang/cem/cemcom/util.c
index
0c04408
..
2702ba0
100644
(file)
--- a/
lang/cem/cemcom/util.c
+++ b/
lang/cem/cemcom/util.c
@@
-178,7
+178,9
@@
LoadLocal(off, sz)
{
register struct localvar *p = find_reg(off);
+#ifdef USE_TMP
if (p) p->t_count++;
+#endif
if (sz == word_size) C_lol(off);
else if (sz == dword_size) C_ldl(off);
else {
@@
-193,7
+195,9
@@
StoreLocal(off, sz)
{
register struct localvar *p = find_reg(off);
+#ifdef USE_TMP
if (p) p->t_count++;
+#endif
if (sz == word_size) C_stl(off);
else if (sz == dword_size) C_sdl(off);
else {