Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 12ad19872312cf55765dca25c47d3e7f23da5df7..551b225f68260ac1111274b45e574a6f0fa01059 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2750,27 +2750,7 @@ class HCheckMaps: public HTemplateInstruction<2> { |
} |
static HCheckMaps* NewWithTransitions(HValue* value, Handle<Map> map, |
- Zone* zone) { |
- HCheckMaps* check_map = new(zone) HCheckMaps(value, zone, value); |
- check_map->map_set_.Add(map, zone); |
- |
- // Since transitioned elements maps of the initial map don't fail the map |
- // check, the CheckMaps instruction doesn't need to depend on ElementsKinds. |
- check_map->ClearGVNFlag(kDependsOnElementsKind); |
- |
- ElementsKind kind = map->elements_kind(); |
- bool packed = IsFastPackedElementsKind(kind); |
- while (CanTransitionToMoreGeneralFastElementsKind(kind, packed)) { |
- kind = GetNextMoreGeneralFastElementsKind(kind, packed); |
- Map* transitioned_map = |
- map->LookupElementsTransitionMap(kind); |
- if (transitioned_map) { |
- check_map->map_set_.Add(Handle<Map>(transitioned_map), zone); |
- } |
- }; |
- check_map->map_set_.Sort(); |
- return check_map; |
- } |
+ Zone* zone, CompilationInfo* info); |
bool CanOmitMapChecks() { return omit_; } |