dont count when USE_TMP is not defined
authorceriel <none@none>
Tue, 1 Sep 1987 10:41:35 +0000 (10:41 +0000)
committerceriel <none@none>
Tue, 1 Sep 1987 10:41:35 +0000 (10:41 +0000)
lang/cem/cemcom/util.c

index 0c04408..2702ba0 100644 (file)
@@ -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 {