Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 29a74d5ebccb5df32c58735d0d7745feaafc5e94..0942260d56cc401155ddb08d7594c8034e9a841b 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -7725,8 +7725,8 @@ class FieldDependentArray : public WeakCodeReferences { |
virtual void ReportSwitchingCode(const Code& code) { |
if (FLAG_trace_deoptimization || FLAG_trace_deoptimization_verbose) { |
Function& function = Function::Handle(code.function()); |
- THR_Print("Switching %s to unoptimized code because guard" |
- " on field %s was violated.\n", |
+ THR_Print("Switching '%s' to unoptimized code because guard" |
+ " on field '%s' was violated.\n", |
function.ToFullyQualifiedCString(), |
field_.ToCString()); |
} |