Revision: 23315
Author:   [email protected]
Date:     Fri Aug 22 13:14:44 2014 UTC
Log:      Fix win64 (size_t vs int in CHECK).

[email protected]
BUG=

Review URL: https://codereview.chromium.org/485813003
https://code.google.com/p/v8/source/detail?r=23315

Modified:
 /branches/bleeding_edge/src/compiler/verifier.cc

=======================================
--- /branches/bleeding_edge/src/compiler/verifier.cc Fri Aug 22 12:37:51 2014 UTC +++ /branches/bleeding_edge/src/compiler/verifier.cc Fri Aug 22 13:14:44 2014 UTC
@@ -307,7 +307,7 @@
   CHECK_EQ(start, rpo_order->at(0));  // Start should be first.
   for (size_t b = 0; b < rpo_order->size(); b++) {
     BasicBlock* block = rpo_order->at(b);
-    CHECK_EQ(b, block->rpo_number_);
+    CHECK_EQ(static_cast<int>(b), block->rpo_number_);
     BasicBlock* dom = schedule->dominator(block);
     if (b == 0) {
       // All blocks except start should have a dominator.

--
--
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