Index: src/hydrogen-load-elimination.cc |
diff --git a/src/hydrogen-load-elimination.cc b/src/hydrogen-load-elimination.cc |
index 94c99524c8abee586267cc4191ec248f68637558..222811678b4c8175fd027670f7e9d16d869dfa0c 100644 |
--- a/src/hydrogen-load-elimination.cc |
+++ b/src/hydrogen-load-elimination.cc |
@@ -98,6 +98,13 @@ class HLoadEliminationTable : public ZoneObject { |
} |
break; |
} |
+ case HValue::kTransitionElementsKind: { |
+ HTransitionElementsKind* t = HTransitionElementsKind::cast(instr); |
+ HValue* object = t->object()->ActualValue(); |
+ KillFieldInternal(object, FieldOf(JSArray::kElementsOffset), NULL); |
+ KillFieldInternal(object, FieldOf(JSObject::kMapOffset), NULL); |
+ break; |
+ } |
default: { |
if (instr->CheckChangesFlag(kInobjectFields)) { |
TRACE((" kill-all i%d\n", instr->id())); |