Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 33be173a56aecfa96e3ee6392dfb81b0e18a7520..2092859cd55deebe68fbbd54d51bb43a3ff3ac12 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9313,7 +9313,6 @@ 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"; |
@@ -9613,7 +9612,7 @@ void Code::Disassemble(const char* name, FILE* out) { |
} |
PrintF("\n"); |
- if (kind() == OPTIMIZED_FUNCTION || kind() == COMPILED_STUB) { |
+ if (is_crankshafted()) { |
SafepointTable table(this); |
PrintF(out, "Safepoints (size = %u)\n", table.size()); |
for (unsigned i = 0; i < table.length(); i++) { |