| Index: src/interpreter/constant-array-builder.cc
|
| diff --git a/src/interpreter/constant-array-builder.cc b/src/interpreter/constant-array-builder.cc
|
| index 2586e1ff4d5c443ce53db6782266d2a15f620cd9..a4a52c669813ecfb8e3fb7d9c4119c76bbef3807 100644
|
| --- a/src/interpreter/constant-array-builder.cc
|
| +++ b/src/interpreter/constant-array-builder.cc
|
| @@ -86,9 +86,9 @@ Handle<Object> ConstantArrayBuilder::At(size_t index) const {
|
| }
|
|
|
|
|
| -Handle<FixedArray> ConstantArrayBuilder::ToFixedArray(Factory* factory) const {
|
| - Handle<FixedArray> fixed_array =
|
| - factory->NewFixedArray(static_cast<int>(size()), PretenureFlag::TENURED);
|
| +Handle<FixedArray> ConstantArrayBuilder::ToFixedArray() const {
|
| + Handle<FixedArray> fixed_array = isolate_->factory()->NewFixedArray(
|
| + static_cast<int>(size()), PretenureFlag::TENURED);
|
| for (int i = 0; i < fixed_array->length(); i++) {
|
| fixed_array->set(i, *At(static_cast<size_t>(i)));
|
| }
|
|
|