summaryrefslogtreecommitdiff
path: root/src/compiler/codegen
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-03-02 14:52:47 -0800
committer buzbee <buzbee@google.com> 2012-03-02 14:57:37 -0800
commitbc6ba404efa7bec4ca5d9fdee890cba7beaaee5a (patch)
treef309b72db67250d828d5db168834c9167c2b4e80 /src/compiler/codegen
parent1f729aac2e3a4924d09cdb1a17f72ee2e22745b4 (diff)
Fix the mac build - tweak the display format
Change-Id: I6c89ba96556f0db847d3426544adeeac98e14051
Diffstat (limited to 'src/compiler/codegen')
-rw-r--r--src/compiler/codegen/CodegenUtil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/CodegenUtil.cc b/src/compiler/codegen/CodegenUtil.cc
index 9e7f8c8e7d..4d97d3b117 100644
--- a/src/compiler/codegen/CodegenUtil.cc
+++ b/src/compiler/codegen/CodegenUtil.cc
@@ -304,7 +304,7 @@ void oatDumpLIRInsn(CompilationUnit* cUnit, LIR* arg, unsigned char* baseAddr)
} else {
std::string op_name(buildInsnString(EncodingMap[lir->opcode].name, lir, baseAddr));
std::string op_operands(buildInsnString(EncodingMap[lir->opcode].fmt, lir, baseAddr));
- LOG(INFO) << StringPrintf("%05x: %-9s%s%s", (intptr_t)baseAddr + offset,
+ LOG(INFO) << StringPrintf("%05x: %-9s%s%s", ((uintptr_t)baseAddr + offset),
op_name.c_str(), op_operands.c_str(), lir->flags.isNop ? "(nop)" : "");
}
break;