| Index: src/hydrogen-check-elimination.cc
|
| diff --git a/src/hydrogen-check-elimination.cc b/src/hydrogen-check-elimination.cc
|
| index bbd3042fb7af6659f4107fffb7127e1298000593..1af96b8c2d50782ee21cc90005dd6bb2f4f30154 100644
|
| --- a/src/hydrogen-check-elimination.cc
|
| +++ b/src/hydrogen-check-elimination.cc
|
| @@ -268,11 +268,7 @@ class HCheckTable : public ZoneObject {
|
|
|
| void ReduceStoreNamedField(HStoreNamedField* instr) {
|
| HValue* object = instr->object()->ActualValue();
|
| - if (instr->has_transition()) {
|
| - // This store transitions the object to a new map.
|
| - Kill(object);
|
| - Insert(object, MapConstant(instr->transition()));
|
| - } else if (IsMapAccess(instr->access())) {
|
| + if (IsMapAccess(instr->access())) {
|
| // This is a store directly to the map field of the object.
|
| Kill(object);
|
| if (!instr->value()->IsConstant()) return;
|
| @@ -474,7 +470,7 @@ class HCheckMapsEffects : public ZoneObject {
|
| // Kill maps for each store contained in these effects.
|
| for (int i = 0; i < stores_.length(); i++) {
|
| HStoreNamedField* s = stores_[i];
|
| - if (table->IsMapAccess(s->access()) || s->has_transition()) {
|
| + if (table->IsMapAccess(s->access())) {
|
| table->Kill(s->object()->ActualValue());
|
| }
|
| }
|
|
|