Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 125a76716c034b8b61e74f2d62920fcf6b6615a0..cb2d100329e00e594feda5baa8d52dcd56285f15 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -11933,6 +11933,12 @@ void Code::Disassemble(const char* name, std::ostream& os) { // NOLINT |
if (kind() == OPTIMIZED_FUNCTION) { |
os << "stack_slots = " << stack_slots() << "\n"; |
} |
+ os << "compiler = " << (is_turbofanned() |
+ ? "turbofan" |
+ : is_crankshafted() ? "crankshaft" |
+ : kind() == Code::FUNCTION |
+ ? "full-codegen" |
+ : "unknown") << "\n"; |
os << "Instructions (size = " << instruction_size() << ")\n"; |
{ |