Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index c11cf0772a76a528a342efccadf74e031777264d..635424c96155a81d49728c34e31698d22fa7eeaf 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1096,7 +1096,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()); |
int flags = expr->ComputeFlags(); |
// If any of the keys would store to the elements array, then we shouldn't |
// allow it. |
@@ -1225,7 +1226,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_constant_fast_elements = |
IsFastObjectElementsKind(expr->constant_elements_kind()); |