Reviewers: Sven Panne, Michael Achenbach, dusmil.imgtec, ssid,
Message:
PTAL, another one like https://codereview.chromium.org/1128043002, from
today's
https://codereview.chromium.org/1113233002
Description:
Fix another -Wsign-compare bugs with GCC 4.9.2.
BUG=
Please review this at https://codereview.chromium.org/1147923002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+2, -2 lines):
M src/api.cc
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
a68823822142cd8cbbfd8358bf61214624b276a0..202fec6b111f0c99458e3a78dc973fbcdbb4c050
100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -6936,8 +6936,8 @@ bool Isolate::GetHeapObjectStatisticsAtLastGC(
size_t object_size = heap->object_size_last_gc(type_index);
if (!heap->GetObjectTypeName(type_index, &object_type,
&object_sub_type)) {
// There should be no objects counted when the type is unknown.
- DCHECK_EQ(object_count, 0);
- DCHECK_EQ(object_size, 0);
+ DCHECK_EQ(object_count, 0U);
+ DCHECK_EQ(object_size, 0U);
return false;
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.