Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
5bac3a3f
Commit
5bac3a3f
authored
Nov 30, 2011
by
Vitja Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename CreateControlFlowGraph to ControlFlowAnalysis
parent
f9483650
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
Cython/Compiler/FlowControl.py
Cython/Compiler/FlowControl.py
+1
-3
Cython/Compiler/Pipeline.py
Cython/Compiler/Pipeline.py
+2
-2
No files found.
Cython/Compiler/FlowControl.py
View file @
5bac3a3f
...
...
@@ -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
):
...
...
Cython/Compiler/Pipeline.py
View file @
5bac3a3f
...
...
@@ -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
C
reateControlFlowGraph
from
FlowControl
import
C
ontrolFlowAnalysis
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
),
C
reateControlFlowGraph
(
context
),
C
ontrolFlowAnalysis
(
context
),
RemoveUnreachableCode
(
context
),
# MarkAssignments(context),
MarkOverflowingArithmetic
(
context
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment