| Index: src/snapshot/code-serializer.cc
|
| diff --git a/src/snapshot/code-serializer.cc b/src/snapshot/code-serializer.cc
|
| index 0a8db40a4791f8e4c1241526c601ef3a9b5cc047..84a08c103de33a532cf3fdbcbfb512f5627633d7 100644
|
| --- a/src/snapshot/code-serializer.cc
|
| +++ b/src/snapshot/code-serializer.cc
|
| @@ -177,7 +177,13 @@
|
| return;
|
| }
|
| }
|
| - UNREACHABLE();
|
| + // The IC may also just be a piece of code kept in the non_monomorphic_cache.
|
| + // In that case, just serialize as a normal code object.
|
| + if (FLAG_trace_serializer) {
|
| + PrintF(" %s has no special handling\n", Code::Kind2String(ic->kind()));
|
| + }
|
| + DCHECK(ic->kind() == Code::LOAD_IC || ic->kind() == Code::STORE_IC);
|
| + SerializeGeneric(ic, how_to_code, where_to_point);
|
| }
|
|
|
| int CodeSerializer::AddCodeStubKey(uint32_t stub_key) {
|
|
|