Only call NOP routine when debugging table
authorceriel <none@none>
Wed, 4 Sep 1991 10:55:52 +0000 (10:55 +0000)
committerceriel <none@none>
Wed, 4 Sep 1991 10:55:52 +0000 (10:55 +0000)
13 files changed:
mach/arm/ncg/table
mach/i386/ncg/table
mach/i80/ncg/table
mach/i86/ncg/table
mach/m68020/ncg/table
mach/m68k2/ncg/table
mach/m68k4/ncg/table
mach/moon3/ncg/table
mach/ns/ncg/table
mach/pdp/cg/table
mach/pdp/ncg/table
mach/vax4/cg/table
mach/z8000/cg/table

index db84136..0793155 100644 (file)
@@ -2172,6 +2172,7 @@ pat lor $1==2                             yields {absolute, "_RegHp"}
 pat lpb                                        leaving adp 8
 
 pat nop
+kills ALL
 gen MOV_NV R0,R0
 
 pat rck
index 5bd7c5d..22a76e2 100644 (file)
@@ -2746,7 +2746,9 @@ kills ALL
 
 pat nop
 kills ALL
-  /* gen proccall {label, ".nop"} */
+#ifdef DEBUG
+  gen proccall {label, ".nop"}
+#endif
 
 pat rck $1==4
 with BXREG ACC
index 8e210b3..3648a0c 100644 (file)
@@ -2035,7 +2035,9 @@ gen Call {label,".mon"}
 
 pat nop
 kills ALL
+#ifdef DEBUG
 gen Call {label,".nop"}
+#endif
 
 pat rck
 with hl_or_de STACK
index 1647281..b806674 100644 (file)
@@ -3288,7 +3288,7 @@ kills ALL
 
 pat nop
 kills ALL
-#if 0
+#if DEBUG
   gen joehoe {label, ".nop"}
 #endif
 
index 97e20fa..b0f3649 100644 (file)
@@ -5872,11 +5872,12 @@ with STACK
     kills ALL
     gen jsr {absolute4, ".mon"}
 
-/* used by the ANSI-compiler to indicate volatile */
 pat nop
 with STACK
     kills ALL
-/*     gen jsr {absolute4, ".nop"} */
+#ifdef DEBUG
+    gen jsr {absolute4, ".nop"}
+#endif
 
 #if WORD_SIZE==2
 pat rck $1==2
index 97e20fa..b0f3649 100644 (file)
@@ -5872,11 +5872,12 @@ with STACK
     kills ALL
     gen jsr {absolute4, ".mon"}
 
-/* used by the ANSI-compiler to indicate volatile */
 pat nop
 with STACK
     kills ALL
-/*     gen jsr {absolute4, ".nop"} */
+#ifdef DEBUG
+    gen jsr {absolute4, ".nop"}
+#endif
 
 #if WORD_SIZE==2
 pat rck $1==2
index 97e20fa..b0f3649 100644 (file)
@@ -5872,11 +5872,12 @@ with STACK
     kills ALL
     gen jsr {absolute4, ".mon"}
 
-/* used by the ANSI-compiler to indicate volatile */
 pat nop
 with STACK
     kills ALL
-/*     gen jsr {absolute4, ".nop"} */
+#ifdef DEBUG
+    gen jsr {absolute4, ".nop"}
+#endif
 
 #if WORD_SIZE==2
 pat rck $1==2
index 97e20fa..b0f3649 100644 (file)
@@ -5872,11 +5872,12 @@ with STACK
     kills ALL
     gen jsr {absolute4, ".mon"}
 
-/* used by the ANSI-compiler to indicate volatile */
 pat nop
 with STACK
     kills ALL
-/*     gen jsr {absolute4, ".nop"} */
+#ifdef DEBUG
+    gen jsr {absolute4, ".nop"}
+#endif
 
 #if WORD_SIZE==2
 pat rck $1==2
index 9df0785..ed84a74 100644 (file)
@@ -2227,9 +2227,11 @@ gen jsr {absolute4, ".mon"}
 
 pat nop
 kills ALL
+#ifdef DEBUG
     gen move {absolute4, "hol0"}, {TOS}
        jsr {absolute4, ".print"}
        jsr {absolute4, ".prnl"}
+#endif
 
 pat rck $1==4
 kills ALL
index 9e61e2d..3892589 100644 (file)
@@ -2675,7 +2675,10 @@ lor $1==2       | |                      | {relative2,"reghp~"}  | |
 mon             | |     remove(all)
                        "jsr pc,mon~"                   |       | |
 nop             | |     remove(all)
-                       "jsr pc,nop~"                   |       | |
+#ifdef DEBUG
+                       "jsr pc,nop~"
+#endif
+                                                       |       | |
 #ifdef DORCK
 rck $1==2       | source2 |
                        remove(all)
index 508a78c..dea4500 100644 (file)
@@ -2190,7 +2190,9 @@ gen jsr pc,{label, "mon~"}
 
 pat nop
 kills ALL
+#ifdef DEBUG
 gen jsr pc,{label, "nop~"}
+#endif
 
 pat rck $1==2
 with src2
index 4f0c3d8..b7b71c5 100644 (file)
@@ -4454,7 +4454,7 @@ lpb               | bigsource4 |
 mon            | STACK |
                        "jsb\t.mon"             |       | |
 nop            | STACK |
-#ifdef TESTING
+#ifdef DEBUG
                        "jsb\t.nop"
 #endif
                                                |       | |
index 5a2ac02..7439930 100644 (file)
@@ -1711,7 +1711,7 @@ mon       | STACK | "calr mon"    | | |
 nop    | STACK |
 #ifdef DEBUG
        "calr noop"
-#ENDIF
+#endif
                                        | | |
 rtt    | | | | ret 0   |
 sig    | REG   | allocate(REG)