Index: src/snapshot/code-serializer.cc |
diff --git a/src/snapshot/code-serializer.cc b/src/snapshot/code-serializer.cc |
index 32ebdc00e9159a256d10fa1d1456758734cc6b9d..84a08c103de33a532cf3fdbcbfb512f5627633d7 100644 |
--- a/src/snapshot/code-serializer.cc |
+++ b/src/snapshot/code-serializer.cc |
@@ -66,6 +66,7 @@ void CodeSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, |
case Code::HANDLER: // No handlers patched in yet. |
case Code::REGEXP: // No regexp literals initialized yet. |
case Code::NUMBER_OF_KINDS: // Pseudo enum value. |
+ case Code::BYTECODE_HANDLER: // No direct references to handlers. |
CHECK(false); |
case Code::BUILTIN: |
SerializeBuiltin(code_object->builtin_index(), how_to_code, |