Remove more lint.
Change-Id: I48714db4169d9ea0536342809361210910ee2091
diff --git a/src/object.cc b/src/object.cc
index 456df7c..145f7ef 100644
--- a/src/object.cc
+++ b/src/object.cc
@@ -539,15 +539,18 @@
if (Runtime::Current()->IsStarted() && have_executable_code && stub != NULL) {
bool log = false;
if (log) {
- LOG(INFO) << "invoking " << PrettyMethod(this) << " code=" << (void*) GetCode() << " stub=" << (void*) stub;
+ LOG(INFO) << StringPrintf("invoking %s code=%p stub=%p",
+ PrettyMethod(this).c_str(), GetCode(), stub);
}
(*stub)(this, receiver, self, args, result);
if (log) {
- LOG(INFO) << "returned " << PrettyMethod(this) << " code=" << (void*) GetCode() << " stub=" << (void*) stub;
+ LOG(INFO) << StringPrintf("returned %s code=%p stub=%p",
+ PrettyMethod(this).c_str(), GetCode(), stub);
}
} else {
- LOG(INFO) << "not invoking " << PrettyMethod(this) << " code=" << (void*) GetCode() << " stub=" << (void*) stub
- << " started=" << Runtime::Current()->IsStarted();
+ LOG(INFO) << StringPrintf("not invoking %s code=%p stub=%p started=%s",
+ PrettyMethod(this).c_str(), GetCode(), stub,
+ Runtime::Current()->IsStarted() ? "true" : "false");
if (result != NULL) {
result->j = 0;
}