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

Unified Diff: src/eh-frame.cc

Issue 2493173002: [turbofan] Fix more -Wsign-compare warnings. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « src/compiler/x87/code-generator-x87.cc ('k') | test/cctest/compiler/test-run-load-store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/eh-frame.cc
diff --git a/src/eh-frame.cc b/src/eh-frame.cc
index 5f0f1c1b35ef486653bf3015b34a57c74728aced..ce5552fcce8b53aa58517afebab9948562fab0e1 100644
--- a/src/eh-frame.cc
+++ b/src/eh-frame.cc
@@ -252,7 +252,7 @@ void EhFrameWriter::AdvanceLocation(int pc_offset) {
DCHECK_GE(pc_offset, last_pc_offset_);
uint32_t delta = pc_offset - last_pc_offset_;
- DCHECK_EQ(delta % EhFrameConstants::kCodeAlignmentFactor, 0);
+ DCHECK_EQ(delta % EhFrameConstants::kCodeAlignmentFactor, 0u);
uint32_t factored_delta = delta / EhFrameConstants::kCodeAlignmentFactor;
if (factored_delta <= EhFrameConstants::kLocationMask) {
« no previous file with comments | « src/compiler/x87/code-generator-x87.cc ('k') | test/cctest/compiler/test-run-load-store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698