Commit 424877c7 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Fix invalid condition in check elimination effects.

R=ishell@chromium.org

Review URL: https://codereview.chromium.org/292993002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21375 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b2c9fcaa
......@@ -714,7 +714,7 @@ class HCheckMapsEffects : public ZoneObject {
switch (instr->opcode()) {
case HValue::kStoreNamedField: {
HStoreNamedField* store = HStoreNamedField::cast(instr);
if (store->access().IsMap() && store->has_transition()) {
if (store->access().IsMap() || store->has_transition()) {
objects_.Add(store->object(), zone);
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment