| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index ba7a2929440a6231ff80775f067226bae4305c7e..6b2924cd68d645e1b01e5261cde77802e7a3666f 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -12205,9 +12205,9 @@
|
| 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 {
|
|
|