Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: src/compiler/verifier.cc

Issue 485813003: Fix win64 (size_t vs int in CHECK). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698