summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/arm/ArchUtility.c
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2009-10-15 14:52:45 -0700
committerBen Cheng <bccheng@google.com>2009-10-15 14:52:45 -0700
commitccd6c0102d1f898aaea1c94761167fdd083b5275 (patch)
tree1a41260525f80fc699c1d4083f6d6bf0153dc82f /vm/compiler/codegen/arm/ArchUtility.c
parent808049474c23a2e8c3849ff7700d118bc406784d (diff)
downloadandroid_dalvik-ccd6c0102d1f898aaea1c94761167fdd083b5275.tar.gz
android_dalvik-ccd6c0102d1f898aaea1c94761167fdd083b5275.tar.bz2
android_dalvik-ccd6c0102d1f898aaea1c94761167fdd083b5275.zip
Make the traige process for self-verification found divergence easier.
1. Automatically replay the code compilation with verbose mode turned on for the offending compilation. 3. Mark the registers with divergence explicitly. 2. Print accurate operand names using the dataflow attributes. Constant values are still printed for reference only. 3. Fixed a few correctness/style issues in self-verification code.
Diffstat (limited to 'vm/compiler/codegen/arm/ArchUtility.c')
-rw-r--r--vm/compiler/codegen/arm/ArchUtility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/codegen/arm/ArchUtility.c b/vm/compiler/codegen/arm/ArchUtility.c
index d1f9870ff..57d5d74fb 100644
--- a/vm/compiler/codegen/arm/ArchUtility.c
+++ b/vm/compiler/codegen/arm/ArchUtility.c
@@ -276,7 +276,7 @@ void dvmDumpLIRInsn(LIR *arg, unsigned char *baseAddr)
break;
case ARM_PSEUDO_DALVIK_BYTECODE_BOUNDARY:
LOGD("-------- dalvik offset: 0x%04x @ %s\n", dest,
- getOpcodeName(lir->operands[1]));
+ (char *) lir->operands[1]);
break;
case ARM_PSEUDO_EXIT_BLOCK:
LOGD("-------- exit offset: 0x%04x\n", dest);