Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 95cbc0abc7f59a34f25410c26c2f1e2ba384279e..8b08b426d3985fe83bb6c68047cc0500b366a6b0 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -167,7 +167,6 @@ Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size, |
FixedArray); |
} |
- |
Handle<FixedArray> Factory::NewUninitializedFixedArray(int size) { |
CALL_HEAP_FUNCTION( |
isolate(), |
@@ -1058,7 +1057,7 @@ Handle<Script> Factory::NewScript(Handle<String> source) { |
script->set_line_ends(heap->undefined_value()); |
script->set_eval_from_shared(heap->undefined_value()); |
script->set_eval_from_position(0); |
- script->set_shared_function_infos(Smi::kZero); |
+ script->set_shared_function_infos(*empty_fixed_array(), SKIP_WRITE_BARRIER); |
script->set_flags(0); |
heap->set_script_list(*WeakFixedArray::Add(script_list(), script)); |