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

Unified Diff: src/compiler/frame-elider.cc

Issue 1128043002: Fix more -Werror=sign-compare bugs with GCC 4.9.2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Rebase and fix new sign comparison errors Created 5 years, 7 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 | src/heap/identity-map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/frame-elider.cc
diff --git a/src/compiler/frame-elider.cc b/src/compiler/frame-elider.cc
index 1168467612a60511a282e5f88e424c7573b35db3..f800b7786f0ec6a9c4389728e8b9173b1ff9e335 100644
--- a/src/compiler/frame-elider.cc
+++ b/src/compiler/frame-elider.cc
@@ -48,7 +48,7 @@ void FrameElider::MarkDeConstruction() {
// deconstructions.
for (auto succ : block->successors()) {
if (!InstructionBlockAt(succ)->needs_frame()) {
- DCHECK_EQ(1, block->SuccessorCount());
+ DCHECK_EQ(1U, block->SuccessorCount());
block->mark_must_deconstruct_frame();
}
}
@@ -56,7 +56,7 @@ void FrameElider::MarkDeConstruction() {
// Find "no frame -> frame" transitions, inserting frame constructions.
for (auto succ : block->successors()) {
if (InstructionBlockAt(succ)->needs_frame()) {
- DCHECK_NE(1, block->SuccessorCount());
+ DCHECK_NE(1U, block->SuccessorCount());
InstructionBlockAt(succ)->mark_must_construct_frame();
}
}
« no previous file with comments | « no previous file | src/heap/identity-map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698