Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 1e5315b978e67fb8e9314cd993a5184f60ff3269..943cef92ac09afca5795631e3053750cabe7215d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13314,6 +13314,11 @@ void Code::Disassemble(const char* name, std::ostream& os) { // NOLINT |
} |
if ((name != NULL) && (name[0] != '\0')) { |
os << "name = " << name << "\n"; |
+ } else if (kind() == BUILTIN) { |
+ name = GetIsolate()->builtins()->Lookup(instruction_start()); |
+ if (name != NULL) { |
+ os << "name = " << name << "\n"; |
+ } |
} |
if (kind() == OPTIMIZED_FUNCTION) { |
os << "stack_slots = " << stack_slots() << "\n"; |