Commit 5bac3a3f authored by Vitja Makarov's avatar Vitja Makarov

Rename CreateControlFlowGraph to ControlFlowAnalysis

parent f9483650
......@@ -553,9 +553,7 @@ class AssignmentCollector(TreeVisitor):
self.assignments.append((lhs, node.rhs))
class CreateControlFlowGraph(CythonTransform):
"""Create NameNode use and assignment graph."""
class ControlFlowAnalysis(CythonTransform):
in_inplace_assignment = False
def visit_ModuleNode(self, node):
......
......@@ -132,7 +132,7 @@ def create_pipeline(context, mode, exclude_classes=()):
from TypeInference import MarkAssignments, MarkOverflowingArithmetic
from ParseTreeTransforms import AdjustDefByDirectives, AlignFunctionDefinitions
from ParseTreeTransforms import RemoveUnreachableCode, GilCheck
from FlowControl import CreateControlFlowGraph
from FlowControl import ControlFlowAnalysis
from AnalysedTreeTransforms import AutoTestDictTransform
from AutoDocTransforms import EmbedSignature
from Optimize import FlattenInListTransform, SwitchTransform, IterationTransform
......@@ -179,7 +179,7 @@ def create_pipeline(context, mode, exclude_classes=()):
EarlyReplaceBuiltinCalls(context), ## Necessary?
TransformBuiltinMethods(context), ## Necessary?
MarkAssignments(context),
CreateControlFlowGraph(context),
ControlFlowAnalysis(context),
RemoveUnreachableCode(context),
# MarkAssignments(context),
MarkOverflowingArithmetic(context),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment