Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index bc0a82e6868ab16718f6c71451bf24e355134e61..a27cc67ce3d6850053cfbb96d00ba3d29ebc33a4 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7880,9 +7880,7 @@ void SharedFunctionInfo::DisableOptimization() { |
code()->set_optimizable(false); |
} |
if (FLAG_trace_opt) { |
- PrintF("[disabled optimization for: "); |
- DebugName()->ShortPrint(); |
- PrintF("]\n"); |
+ PrintF("[disabled optimization for %s]\n", *DebugName()->ToCString()); |
} |
} |