Index: src/compiler/js-global-object-specialization.cc |
diff --git a/src/compiler/js-global-object-specialization.cc b/src/compiler/js-global-object-specialization.cc |
index 4a0bdf9176e4e8ef4353808ec9141422f77cde7e..25d0545f52f9b52acc9841e0e87b9e20a0c1a498 100644 |
--- a/src/compiler/js-global-object-specialization.cc |
+++ b/src/compiler/js-global-object-specialization.cc |
@@ -213,9 +213,9 @@ Reduction JSGlobalObjectSpecialization::ReduceJSStoreGlobal(Node* node) { |
// Check {value} map agains the {property_cell} map. |
Handle<Map> property_cell_value_map( |
Handle<HeapObject>::cast(property_cell_value)->map(), isolate()); |
- effect = graph()->NewNode( |
- simplified()->CheckMaps(1), value, |
- jsgraph()->HeapConstant(property_cell_value_map), effect, control); |
+ effect = graph()->NewNode(simplified()->CheckMaps(ZoneHandleSet<Map>( |
+ property_cell_value_map)), |
+ value, effect, control); |
property_cell_value_type = Type::OtherInternal(); |
representation = MachineRepresentation::kTaggedPointer; |
} else { |