From 35e1a96b52ad5ebee2b1aa827027e89bf9b53340 Mon Sep 17 00:00:00 2001 From: Stefan Ring Date: Wed, 1 Jul 2009 08:58:28 +0200 Subject: [PATCH] * src/vm/jit/show.cpp (show_method, show_allocation): Show register allocation even without disassembler. --- src/vm/jit/show.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vm/jit/show.cpp b/src/vm/jit/show.cpp index 2019644e4..24b64dfd0 100644 --- a/src/vm/jit/show.cpp +++ b/src/vm/jit/show.cpp @@ -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); -- 2.25.1