Revision: 22862
Author:   [email protected]
Date:     Tue Aug  5 11:42:57 2014 UTC
Log:      Verifier must ensure that start and end node of graph are set.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/444583004
http://code.google.com/p/v8/source/detail?r=22862

Modified:
 /branches/bleeding_edge/src/compiler/verifier.cc

=======================================
--- /branches/bleeding_edge/src/compiler/verifier.cc Tue Aug 5 08:47:39 2014 UTC +++ /branches/bleeding_edge/src/compiler/verifier.cc Tue Aug 5 11:42:57 2014 UTC
@@ -224,8 +224,10 @@
 void Verifier::Run(Graph* graph) {
   Visitor visitor(graph->zone());

+  CHECK_NE(NULL, graph->start());
   visitor.from_start = true;
   graph->VisitNodeUsesFromStart(&visitor);
+  CHECK_NE(NULL, graph->end());
   visitor.from_start = false;
   graph->VisitNodeInputsFromEnd(&visitor);

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