* src/vm/jit/show.cpp (show_method, show_allocation): Show register
authorStefan Ring <stefan@complang.tuwien.ac.at>
Wed, 1 Jul 2009 06:58:28 +0000 (08:58 +0200)
committerStefan Ring <stefan@complang.tuwien.ac.at>
Wed, 1 Jul 2009 06:58:28 +0000 (08:58 +0200)
allocation even without disassembler.

src/vm/jit/show.cpp

index 2019644e43fd30c238b8e11f06b90d5b787e8658..24b64dfd03e41339a4a08c51aab180f3c425067a 100644 (file)
@@ -214,7 +214,7 @@ void show_method(jitdata *jd, int stage)
                for (i = 0; i < jd->localcount; i++) {
                        printf("   %3d: ", i);
 
-#if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
+#if defined(ENABLE_JIT)
 # if defined(ENABLE_INTRP)
                        if (!opt_intrp) {
 # endif
@@ -225,7 +225,7 @@ void show_method(jitdata *jd, int stage)
 # if defined(ENABLE_INTRP)
                        }
 # endif
-#endif /* defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER) */
+#endif /* defined(ENABLE_JIT) */
                }
                printf("\n");
        }
@@ -793,7 +793,7 @@ void show_allocation(s4 type, s4 flags, s4 regoff)
 
 #if defined(SUPPORT_COMBINE_INTEGER_REGISTERS)
        if (IS_2_WORD_TYPE(type)) {
-# if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
+# if defined(ENABLE_JIT)
 #  if defined(ENABLE_INTRP)
                if (opt_intrp)
                        printf("%3d/%3d", GET_LOW_REG(regoff),
@@ -810,7 +810,7 @@ void show_allocation(s4 type, s4 flags, s4 regoff)
        } 
 #endif /* defined(SUPPORT_COMBINE_INTEGER_REGISTERS) */
 
-#if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
+#if defined(ENABLE_JIT)
 # if defined(ENABLE_INTRP)
        if (opt_intrp)
                printf("%3d", regoff);