Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index db895c38bb0a8d8ab3ec8a002692255d0340715a..2bf8a95cd6a6eceaa5684ee6b80013595f9b461f 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -1104,7 +1104,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. |
@@ -1233,7 +1234,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()); |