Fix oversight in type change

TBR=dcarney@chromium.org
BUG=

Review URL: https://codereview.chromium.org/646033005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24627 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rossberg@chromium.org 2014-10-15 11:56:05 +00:00
parent 0e16150d33
commit 7464f04ebf

View File

@ -166,7 +166,7 @@ GenericGraphVisit::Control Verifier::Visitor::Pre(Node* node) {
case IrOpcode::kBranch: {
// Branch uses are IfTrue and IfFalse.
Node::Uses uses = node->uses();
bool count_true = 0, count_false = 0;
int count_true = 0, count_false = 0;
for (Node::Uses::iterator it = uses.begin(); it != uses.end(); ++it) {
CHECK((*it)->opcode() == IrOpcode::kIfTrue ||
(*it)->opcode() == IrOpcode::kIfFalse);