| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index a8f3a749189196663b9f086725dc700df185b13e..5deedca6214544ce5b0fc80082b2c5fbfeb41185 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -640,9 +640,9 @@ RUNTIME_FUNCTION(Runtime_NewRestParameter) {
|
| base::SmartArrayPointer<Handle<Object>> arguments =
|
| GetCallerArguments(isolate, &argument_count);
|
| int num_elements = std::max(0, argument_count - start_index);
|
| - Handle<JSObject> result = isolate->factory()->NewJSArray(
|
| - FAST_ELEMENTS, num_elements, num_elements, Strength::WEAK,
|
| - DONT_INITIALIZE_ARRAY_ELEMENTS);
|
| + Handle<JSObject> result =
|
| + isolate->factory()->NewJSArray(FAST_ELEMENTS, num_elements, num_elements,
|
| + DONT_INITIALIZE_ARRAY_ELEMENTS);
|
| {
|
| DisallowHeapAllocation no_gc;
|
| FixedArray* elements = FixedArray::cast(result->elements());
|
|
|