Fix oversight in type change
authorrossberg@chromium.org <rossberg@chromium.org>
Wed, 15 Oct 2014 11:56:05 +0000 (11:56 +0000)
committerrossberg@chromium.org <rossberg@chromium.org>
Wed, 15 Oct 2014 11:56:05 +0000 (11:56 +0000)
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

src/compiler/verifier.cc

index ba9e0f5..09b78ae 100644 (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);