Index: src/hydrogen.cc |
=================================================================== |
--- src/hydrogen.cc (revision 6068) |
+++ src/hydrogen.cc (working copy) |
@@ -3165,6 +3165,9 @@ |
if (lookup->type() == MAP_TRANSITION) { |
Handle<Map> transition(lookup->GetTransitionMapFromMap(*type)); |
instr->set_transition(transition); |
+ // TODO(fschneider): Record the new map type of the object in the IR to |
+ // enable elimination of redundant checks after the transition store. |
+ instr->SetFlag(HValue::kChangesMaps); |
} |
return instr; |
} |