| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index e724ea420a4cd9c5fe77e83c0c03df291ad5a01a..c5a31791d7f5c8459d9d681124b929b290d36244 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -2868,6 +2868,7 @@ void Heap::CreateInitialObjects() {
|
|
|
| // Handling of script id generation is in Heap::NextScriptId().
|
| set_last_script_id(Smi::FromInt(v8::UnboundScript::kNoScriptId));
|
| + set_next_template_serial_number(Smi::FromInt(0));
|
|
|
| // Allocate the empty script.
|
| Handle<Script> script = factory->NewScript(factory->empty_string());
|
|
|