Index: src/snapshot/code-serializer.cc |
diff --git a/src/snapshot/code-serializer.cc b/src/snapshot/code-serializer.cc |
index 511f1117521b257fe4ec02c378d13d1e62c478ec..af9333c4e4caab1230de2e44ab6bcf481e6b4c90 100644 |
--- a/src/snapshot/code-serializer.cc |
+++ b/src/snapshot/code-serializer.cc |
@@ -94,6 +94,8 @@ void CodeSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, |
DCHECK(code_object->has_reloc_info_for_serialization()); |
SerializeGeneric(code_object, how_to_code, where_to_point); |
return; |
+ case Code::JS_TO_NATIVE_FUNCTION: |
+ UNREACHABLE(); |
default: |
return SerializeCodeObject(code_object, how_to_code, where_to_point); |
} |