| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index 3e907d71a9ad32356a9f0037427eaf7222798d3d..ce6bdbef2dbd1692a420ee35767b4ede43da357f 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -1177,7 +1177,8 @@ void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) {
|
| void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| Comment cmnt(masm_, "[ ObjectLiteral");
|
|
|
| - Handle<FixedArray> constant_properties = expr->constant_properties();
|
| + Handle<FixedArray> constant_properties =
|
| + expr->GetOrBuildConstantProperties(isolate());
|
| __ lw(a3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
|
| __ li(a2, Operand(Smi::FromInt(expr->literal_index())));
|
| __ li(a1, Operand(constant_properties));
|
| @@ -1307,7 +1308,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
|
| Comment cmnt(masm_, "[ ArrayLiteral");
|
|
|
| - Handle<ConstantElementsPair> constant_elements = expr->constant_elements();
|
| + Handle<ConstantElementsPair> constant_elements =
|
| + expr->GetOrBuildConstantElements(isolate());
|
| bool has_fast_elements =
|
| IsFastObjectElementsKind(expr->constant_elements_kind());
|
|
|
|
|