summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.h
diff options
context:
space:
mode:
author David Sehr <sehr@google.com> 2016-10-19 16:18:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-10-19 16:18:51 +0000
commitc89f9776a107ca20d0146c16fa881db91c4f8266 (patch)
treef77bd4525e69c4874c52183878ae642fd5a2201c /runtime/interpreter/interpreter_common.h
parent58b99c78d0bba093fddebab0dcad45bbcf5c55d9 (diff)
parent709b070044354d9f47641f273edacaeeb0240ab7 (diff)
Merge "Remove mirror:: and ArtMethod deps in utils.{h,cc}"
Diffstat (limited to 'runtime/interpreter/interpreter_common.h')
-rw-r--r--runtime/interpreter/interpreter_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/interpreter/interpreter_common.h b/runtime/interpreter/interpreter_common.h
index bdb6bd39a1..40d6f036a2 100644
--- a/runtime/interpreter/interpreter_common.h
+++ b/runtime/interpreter/interpreter_common.h
@@ -438,7 +438,7 @@ static inline void TraceExecution(const ShadowFrame& shadow_frame, const Instruc
if (kTraceExecutionEnabled) {
#define TRACE_LOG std::cerr
std::ostringstream oss;
- oss << PrettyMethod(shadow_frame.GetMethod())
+ oss << shadow_frame.GetMethod()->PrettyMethod()
<< StringPrintf("\n0x%x: ", dex_pc)
<< inst->DumpString(shadow_frame.GetMethod()->GetDexFile()) << "\n";
for (uint32_t i = 0; i < shadow_frame.NumberOfVRegs(); ++i) {
@@ -450,7 +450,7 @@ static inline void TraceExecution(const ShadowFrame& shadow_frame, const Instruc
!ref_value->AsString()->IsValueNull()) {
oss << "/java.lang.String \"" << ref_value->AsString()->ToModifiedUtf8() << "\"";
} else {
- oss << "/" << PrettyTypeOf(ref_value);
+ oss << "/" << ref_value->PrettyTypeOf();
}
}
}