Revision: 23363
Author: [email protected]
Date: Mon Aug 25 15:00:35 2014 UTC
Log: Fix int comparison with vector::size.
[email protected]
Review URL: https://codereview.chromium.org/503023002
https://code.google.com/p/v8/source/detail?r=23363
Modified:
/branches/bleeding_edge/src/compiler/node.cc
=======================================
--- /branches/bleeding_edge/src/compiler/node.cc Mon Aug 25 14:28:15 2014
UTC
+++ /branches/bleeding_edge/src/compiler/node.cc Mon Aug 25 15:00:35 2014
UTC
@@ -18,7 +18,7 @@
if ((*i)->opcode() != IrOpcode::kProjection) continue;
int32_t index = OpParameter<int32_t>(*i);
DCHECK_GE(index, 0);
- DCHECK_LT(index, projections->size());
+ DCHECK_LT(index, static_cast<int32_t>(projections->size()));
DCHECK_EQ(NULL, (*projections)[index]);
(*projections)[index] = *i;
}
--
--
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.