Index: src/compiler/js-create-lowering.cc |
diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc |
index 275e44e8c4c0ba21755bbc9be93605356b243b66..f8ac78326022ab98d11f1bf1d8983ee6bcc853e2 100644 |
--- a/src/compiler/js-create-lowering.cc |
+++ b/src/compiler/js-create-lowering.cc |
@@ -965,7 +965,7 @@ |
graph()->NewNode(common()->FinishRegion(), value, effect); |
} else if (property_details.representation().IsSmi()) { |
// Ensure that value is stored as smi. |
- value = boilerplate_value->IsUninitialized(isolate()) |
+ value = boilerplate_value->IsUninitialized() |
? jsgraph()->ZeroConstant() |
: jsgraph()->Constant(boilerplate_value); |
} else { |