| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index ccd7f25336eb8ac0355e8d39ec991b23466daed9..b5f1693e1681514381bde6b18ca7ca954e5c0554 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -14253,9 +14253,7 @@ const char* Code::Name() const {
|
| Zone* zone = thread->zone();
|
| const char* name = StubCode::NameOfStub(UncheckedEntryPoint());
|
| ASSERT(name != NULL);
|
| - char* stub_name =
|
| - OS::SCreate(zone, "%s%s", Symbols::StubPrefix().ToCString(), name);
|
| - return stub_name;
|
| + return OS::SCreate(zone, "[Stub] %s", name);
|
| } else if (obj.IsClass()) {
|
| // Allocation stub.
|
| Thread* thread = Thread::Current();
|
| @@ -14263,10 +14261,7 @@ const char* Code::Name() const {
|
| const Class& cls = Class::Cast(obj);
|
| String& cls_name = String::Handle(zone, cls.ScrubbedName());
|
| ASSERT(!cls_name.IsNull());
|
| - char* stub_name =
|
| - OS::SCreate(zone, "%s%s", Symbols::AllocationStubFor().ToCString(),
|
| - cls_name.ToCString());
|
| - return stub_name;
|
| + return OS::SCreate(zone, "[Stub] Allocate %s", cls_name.ToCString());
|
| } else {
|
| ASSERT(obj.IsFunction());
|
| // Dart function.
|
|
|