Revision: 21375
Author:   [email protected]
Date:     Tue May 20 08:16:47 2014 UTC
Log:      Fix invalid condition in check elimination effects.

[email protected]

Review URL: https://codereview.chromium.org/292993002
http://code.google.com/p/v8/source/detail?r=21375

Modified:
 /branches/bleeding_edge/src/hydrogen-check-elimination.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen-check-elimination.cc Mon May 12 20:05:52 2014 UTC +++ /branches/bleeding_edge/src/hydrogen-check-elimination.cc Tue May 20 08:16:47 2014 UTC
@@ -714,7 +714,7 @@
     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;

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to