Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 06c54a9bc00dde300d3f53c1b9752264a7ac507a..e53f19c5421422cc6a180844eef7d28699d57bed 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3155,7 +3155,7 @@ bool Heap::CreateInitialObjects() { |
set_empty_slow_element_dictionary(SeededNumberDictionary::cast(obj)); |
// Handling of script id generation is in Factory::NewScript. |
- set_last_script_id(undefined_value()); |
+ set_last_script_id(Smi::FromInt(0)); |
// Initialize keyed lookup cache. |
isolate_->keyed_lookup_cache()->Clear(); |