Commit 1addf58e authored by titzer@chromium.org's avatar titzer@chromium.org

Fix win64 (size_t vs int in CHECK).

TBR=jarin@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23315 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 39c83bfa
...@@ -307,7 +307,7 @@ void ScheduleVerifier::Run(Schedule* schedule) { ...@@ -307,7 +307,7 @@ void ScheduleVerifier::Run(Schedule* schedule) {
CHECK_EQ(start, rpo_order->at(0)); // Start should be first. CHECK_EQ(start, rpo_order->at(0)); // Start should be first.
for (size_t b = 0; b < rpo_order->size(); b++) { for (size_t b = 0; b < rpo_order->size(); b++) {
BasicBlock* block = rpo_order->at(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); BasicBlock* dom = schedule->dominator(block);
if (b == 0) { if (b == 0) {
// All blocks except start should have a dominator. // All blocks except start should have a dominator.
......
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