Index: src/snapshot/startup-serializer.cc |
diff --git a/src/snapshot/startup-serializer.cc b/src/snapshot/startup-serializer.cc |
index c3f9b3eb61d50e7e8bc6acf9846c1aa46ffe4338..c71c16b1fdbae8b4eb60fc93fc48f145a596e763 100644 |
--- a/src/snapshot/startup-serializer.cc |
+++ b/src/snapshot/startup-serializer.cc |
@@ -34,7 +34,8 @@ void StartupSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, |
// replace it with lazy-compile builtin. Only exception is when we are |
// serializing the canonical interpreter-entry-trampoline builtin. |
if (code->kind() == Code::FUNCTION || |
- (!serializing_builtins_ && code->is_interpreter_entry_trampoline())) { |
+ (!serializing_builtins_ && |
+ code->is_interpreter_trampoline_builtin())) { |
obj = isolate()->builtins()->builtin(Builtins::kCompileLazy); |
} |
} else if (obj->IsBytecodeArray()) { |