[phc-internals] [phc commit] r1461 - branches/dataflow/src/optimize

codesite-noreply at google.com codesite-noreply at google.com
Tue Jul 22 20:09:18 IST 2008


Author: paul.biggar
Date: Tue Jul 22 12:08:58 2008
New Revision: 1461

Modified:
   branches/dataflow/src/optimize/CFG.cpp

Log:
Don't create a node from a Branch's parent to its children.


Modified: branches/dataflow/src/optimize/CFG.cpp
==============================================================================
--- branches/dataflow/src/optimize/CFG.cpp	(original)
+++ branches/dataflow/src/optimize/CFG.cpp	Tue Jul 22 12:08:58 2008
@@ -83,6 +83,7 @@
 				vertex_t iffalse = labels[*b->iffalse->get_value_as_string ()];
 				add_edge (v, iftrue, bs);
 				add_edge (v, iffalse, bs);
+				use_parent = false;
 				break;
 			}



More information about the phc-internals mailing list