Revision: 17523
Author:   [email protected]
Date:     Wed Nov  6 13:42:00 2013 UTC
Log:      Another fix for windows breakage after r17521.

[email protected]

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

Modified:
 /branches/bleeding_edge/src/hydrogen-gvn.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen-gvn.cc Wed Oct  2 11:43:41 2013 UTC
+++ /branches/bleeding_edge/src/hydrogen-gvn.cc Wed Nov  6 13:42:00 2013 UTC
@@ -433,7 +433,7 @@
   uint32_t set_depends_on = 0;
   uint32_t set_changes = 0;
   for (int bit = 0; bit < kLastFlag; ++bit) {
-    if ((flags.ToIntegral() & (1 << bit)) != 0) {
+    if (flags.Contains(static_cast<GVNFlag>(bit))) {
       if (bit % 2 == 0) {
         set_changes++;
       } else {
@@ -450,7 +450,7 @@
       offset += OS::SNPrintF(buffer + offset, "changes all except [");
     }
     for (int bit = 0; bit < kLastFlag; ++bit) {
-      if (((flags.ToIntegral() & (1 << bit)) != 0) == positive_changes) {
+      if (flags.Contains(static_cast<GVNFlag>(bit)) == positive_changes) {
         switch (static_cast<GVNFlag>(bit)) {
 #define DECLARE_FLAG(type)                                       \
           case kChanges##type:                                   \
@@ -479,7 +479,7 @@
       offset += OS::SNPrintF(buffer + offset, "depends on all except [");
     }
     for (int bit = 0; bit < kLastFlag; ++bit) {
- if (((flags.ToIntegral() & (1 << bit)) != 0) == positive_depends_on) { + if (flags.Contains(static_cast<GVNFlag>(bit)) == positive_depends_on) {
         switch (static_cast<GVNFlag>(bit)) {
 #define DECLARE_FLAG(type)                                       \
           case kDependsOn##type:                                 \

--
--
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/groups/opt_out.

Reply via email to