summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/armv5te/ArchUtility.c
diff options
context:
space:
mode:
authorBill Buzbee <buzbee@google.com>2009-07-23 13:22:09 -0700
committerBill Buzbee <buzbee@google.com>2009-07-27 16:02:08 -0700
commit716f120d7f33ca18a5dcbef811399df0cbefe5d0 (patch)
treea52972ebbedf379c144531655a7edc8c3cc0527d /vm/compiler/codegen/armv5te/ArchUtility.c
parent7605a84a9a0a1764c1fb290d9c93e8114eaf620a (diff)
downloadandroid_dalvik-716f120d7f33ca18a5dcbef811399df0cbefe5d0.tar.gz
android_dalvik-716f120d7f33ca18a5dcbef811399df0cbefe5d0.tar.bz2
android_dalvik-716f120d7f33ca18a5dcbef811399df0cbefe5d0.zip
First phase of restructuring to support THUMB2 & ARM traces
Store some useful info about traces in JitTable entry; some general cleanup
Diffstat (limited to 'vm/compiler/codegen/armv5te/ArchUtility.c')
-rw-r--r--vm/compiler/codegen/armv5te/ArchUtility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/codegen/armv5te/ArchUtility.c b/vm/compiler/codegen/armv5te/ArchUtility.c
index e45c57291..d7a0ce62c 100644
--- a/vm/compiler/codegen/armv5te/ArchUtility.c
+++ b/vm/compiler/codegen/armv5te/ArchUtility.c
@@ -224,7 +224,7 @@ void dvmCompilerCodegenDump(CompilationUnit *cUnit)
for (lirInsn = cUnit->wordList; lirInsn; lirInsn = lirInsn->next) {
armLIR = (Armv5teLIR *) lirInsn;
LOGD("%p (%04x): .word (0x%x)\n",
- cUnit->baseAddr + armLIR->generic.offset, armLIR->generic.offset,
+ (char*)cUnit->baseAddr + armLIR->generic.offset, armLIR->generic.offset,
armLIR->operands[0]);
}
}