Reviewers: jarin,
Description:
Fix win64 (size_t vs int in CHECK).
[email protected]
BUG=
Please review this at https://codereview.chromium.org/485813003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/compiler/verifier.cc
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index
44536718acd2aa60dc81927f6182c3857a88558f..9b06e3140eab4c6af39b54dddbffc00ce8bb6ac7
100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -307,7 +307,7 @@ void ScheduleVerifier::Run(Schedule* schedule) {
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.