| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index 8f21f3ceb86e29d6bdfaa55545c4065928f92262..2647b73fccf1b1b3575938511eba1a710576002f 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -5450,7 +5450,8 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| site_context.ExitScope(site, boilerplate);
|
| } else {
|
| NoObservableSideEffectsScope no_effects(this);
|
| - Handle<FixedArray> constant_properties = expr->constant_properties();
|
| + Handle<FixedArray> constant_properties =
|
| + expr->GetOrBuildConstantProperties(isolate());
|
| int literal_index = expr->literal_index();
|
| int flags = expr->ComputeFlags(true);
|
|
|
| @@ -5573,7 +5574,8 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) {
|
| site_context.ExitScope(site, boilerplate_object);
|
| } else {
|
| NoObservableSideEffectsScope no_effects(this);
|
| - Handle<ConstantElementsPair> constants = expr->constant_elements();
|
| + Handle<ConstantElementsPair> constants =
|
| + expr->GetOrBuildConstantElements(isolate());
|
| int literal_index = expr->literal_index();
|
| int flags = expr->ComputeFlags(true);
|
|
|
|
|