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

Unified Diff: src/compiler/x87/code-generator-x87.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/x64/unwinding-info-writer-x64.cc ('k') | src/eh-frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/x87/code-generator-x87.cc
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc
index f3bce897a620b1d1653bf2669f2775b181f13fac..b9243c5ff168647564662640b3620e80f03ca75a 100644
--- a/src/compiler/x87/code-generator-x87.cc
+++ b/src/compiler/x87/code-generator-x87.cc
@@ -2456,7 +2456,7 @@ void CodeGenerator::AssembleReturn(InstructionOperand* pop) {
__ VerifyX87StackDepth(1);
}
bool clear_stack = true;
- for (int i = 0; i < descriptor->ReturnCount(); i++) {
+ for (size_t i = 0; i < descriptor->ReturnCount(); i++) {
MachineRepresentation rep = descriptor->GetReturnType(i).representation();
LinkageLocation loc = descriptor->GetReturnLocation(i);
if (IsFloatingPoint(rep) && loc == LinkageLocation::ForRegister(0)) {
« no previous file with comments | « src/compiler/x64/unwinding-info-writer-x64.cc ('k') | src/eh-frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698