| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 44fbb112db7739fdd7086bc90baf91b23ddd3e31..8b289ead87bffae6b4da501a60a9eeac65f849e9 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -961,10 +961,18 @@ static void DisassembleCode(const Function& function, bool optimized) {
|
| if (function.IsNull()) {
|
| Class& cls = Class::Handle();
|
| cls ^= code.owner();
|
| - ISL_Print(" 0x%" Px ": allocation stub for %s, %p\n",
|
| - start + offset.Value(),
|
| - cls.ToCString(),
|
| - code.raw());
|
| + if (cls.IsNull()) {
|
| + const String& code_name = String::Handle(code.Name());
|
| + ISL_Print(" 0x%" Px ": %s, %p\n",
|
| + start + offset.Value(),
|
| + code_name.ToCString(),
|
| + code.raw());
|
| + } else {
|
| + ISL_Print(" 0x%" Px ": allocation stub for %s, %p\n",
|
| + start + offset.Value(),
|
| + cls.ToCString(),
|
| + code.raw());
|
| + }
|
| } else {
|
| ISL_Print(" 0x%" Px ": %s, %p\n",
|
| start + offset.Value(),
|
|
|