Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 3b633ea931d3d6d4db4167a0e2b00395a9ba922b..41e2f13f9810fddf3a5708221ff2e02632733f0a 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1149,7 +1149,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()); |
__ LoadP(r6, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
__ LoadSmiLiteral(r5, Smi::FromInt(expr->literal_index())); |
__ mov(r4, Operand(constant_properties)); |
@@ -1278,7 +1279,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()); |