Index: src/snapshot/serialize.cc |
diff --git a/src/snapshot/serialize.cc b/src/snapshot/serialize.cc |
index 0e672760b6848136e03a1adccae32de0455aec38..9097dba2cc23385fd66662c07589e9aa3dbdd78a 100644 |
--- a/src/snapshot/serialize.cc |
+++ b/src/snapshot/serialize.cc |
@@ -2478,6 +2478,8 @@ void CodeSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, |
SerializeGeneric(code_object, how_to_code, where_to_point); |
} |
return; |
+ case Code::PLACEHOLDER: |
+ UNREACHABLE(); |
} |
UNREACHABLE(); |
} |