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

Unified Diff: src/deoptimizer.cc

Issue 1105653002: Fix -Wsign-compare bugs with GCC 4.9.2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Created 5 years, 8 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 | « src/compiler/register-allocator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 1f32f1c2bf37581a76609c0b0ddf90bdacb9a9e6..13c282da9e6a8a4058dc084eb974ad72118f4b8a 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -2257,7 +2257,7 @@ void Deoptimizer::DoTranslateObject(TranslationIterator* iterator,
AddObjectTaggedValue(
reinterpret_cast<intptr_t>(isolate_->heap()->false_value()));
} else {
- DCHECK_EQ(1, value);
+ DCHECK_EQ(1U, value);
AddObjectTaggedValue(
reinterpret_cast<intptr_t>(isolate_->heap()->true_value()));
}
@@ -2367,7 +2367,7 @@ void Deoptimizer::DoTranslateObject(TranslationIterator* iterator,
AddObjectTaggedValue(
reinterpret_cast<intptr_t>(isolate_->heap()->false_value()));
} else {
- DCHECK_EQ(1, value);
+ DCHECK_EQ(1U, value);
AddObjectTaggedValue(
reinterpret_cast<intptr_t>(isolate_->heap()->true_value()));
}
@@ -2573,7 +2573,7 @@ void Deoptimizer::DoTranslateCommand(TranslationIterator* iterator,
output_offset,
reinterpret_cast<intptr_t>(isolate_->heap()->false_value()));
} else {
- DCHECK_EQ(1, value);
+ DCHECK_EQ(1U, value);
output_[frame_index]->SetFrameSlot(
output_offset,
reinterpret_cast<intptr_t>(isolate_->heap()->true_value()));
@@ -2699,7 +2699,7 @@ void Deoptimizer::DoTranslateCommand(TranslationIterator* iterator,
output_offset,
reinterpret_cast<intptr_t>(isolate_->heap()->false_value()));
} else {
- DCHECK_EQ(1, value);
+ DCHECK_EQ(1U, value);
output_[frame_index]->SetFrameSlot(
output_offset,
reinterpret_cast<intptr_t>(isolate_->heap()->true_value()));
@@ -3456,7 +3456,7 @@ Handle<Object> SlotRef::GetValue(Isolate* isolate) {
if (value == 0) {
return isolate->factory()->false_value();
} else {
- DCHECK_EQ(1, value);
+ DCHECK_EQ(1U, value);
return isolate->factory()->true_value();
}
}
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698