Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 25f712158ef89c6a64e9336df9a78a89e6377753..aa5c3a9200cdfeecfad159ed9af42970ec2dc983 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3347,7 +3347,7 @@ bool Heap::CreateInitialObjects() { |
set_materialized_objects(FixedArray::cast(obj)); |
// Handling of script id generation is in Factory::NewScript. |
- set_last_script_id(Smi::FromInt(v8::Script::kNoScriptId)); |
+ set_last_script_id(Smi::FromInt(v8::UnboundScript::kNoScriptId)); |
{ MaybeObject* maybe_obj = AllocateAllocationSitesScratchpad(); |
if (!maybe_obj->ToObject(&obj)) return false; |