| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index 9e934f0a13fcfe11eff106da036461d70efe6175..889c223323263873749a27a142ed36ff5960c518 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -12206,9 +12206,9 @@ void HOptimizedGraphBuilder::BuildEmitInObjectProperties(
|
| double_box, HObjectAccess::ForHeapNumberValue(), double_value);
|
| value_instruction = double_box;
|
| } else if (representation.IsSmi()) {
|
| - value_instruction = value->IsUninitialized()
|
| - ? graph()->GetConstant0()
|
| - : Add<HConstant>(value);
|
| + value_instruction = value->IsUninitialized(isolate())
|
| + ? graph()->GetConstant0()
|
| + : Add<HConstant>(value);
|
| // Ensure that value is stored as smi.
|
| access = access.WithRepresentation(representation);
|
| } else {
|
|
|