Reviewers: dcarney,

Description:
Fix oversight in type change

[email protected]
BUG=

Please review this at https://codereview.chromium.org/646033005/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M src/compiler/verifier.cc


Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index ba9e0f53698c122c32853b42e468b33ae30312bc..09b78ae1acd0fc409d4370e604a3937e48eb2222 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -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);


--
--
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.

Reply via email to