Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index d444355e4c2074987de5c18fee37548d174cce25..1f9fe4ac389fdc013dde7f34e2787cf2c817fc8e 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8987,6 +8987,12 @@ void DeoptimizationInputData::DeoptimizationInputDataPrint(FILE* out) { |
break; |
} |
+ case Translation::COMPILED_STUB_FRAME: { |
+ Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); |
+ PrintF(out, "{kind=%d}", stub_kind); |
+ break; |
+ } |
+ |
case Translation::ARGUMENTS_ADAPTOR_FRAME: |
case Translation::CONSTRUCT_STUB_FRAME: { |
int function_id = iterator.Next(); |
@@ -9101,6 +9107,7 @@ const char* Code::Kind2String(Kind kind) { |
switch (kind) { |
case FUNCTION: return "FUNCTION"; |
case OPTIMIZED_FUNCTION: return "OPTIMIZED_FUNCTION"; |
+ case COMPILED_STUB: return "COMPILED_STUB"; |
case STUB: return "STUB"; |
case BUILTIN: return "BUILTIN"; |
case LOAD_IC: return "LOAD_IC"; |
@@ -9220,7 +9227,7 @@ void Code::Disassemble(const char* name, FILE* out) { |
} |
PrintF("\n"); |
- if (kind() == OPTIMIZED_FUNCTION) { |
+ if (kind() == OPTIMIZED_FUNCTION || kind() == COMPILED_STUB) { |
SafepointTable table(this); |
PrintF(out, "Safepoints (size = %u)\n", table.size()); |
for (unsigned i = 0; i < table.length(); i++) { |