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
0dbb7ca3
Commit
0dbb7ca3
authored
Dec 30, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build by removing unused code
parent
6450b6df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Cython/Compiler/FlowControl.py
Cython/Compiler/FlowControl.py
+2
-4
No files found.
Cython/Compiler/FlowControl.py
View file @
0dbb7ca3
...
...
@@ -106,16 +106,14 @@ class ControlFlow(object):
entries set tracked entries
loops list stack for loop descriptors
exceptions list stack for exception descriptors
outer_flow ControlFlow the ControlFlow instance of the outer closure
"""
def
__init__
(
self
,
outer_flow
=
None
):
def
__init__
(
self
):
self
.
blocks
=
set
()
self
.
entries
=
set
()
self
.
loops
=
[]
self
.
exceptions
=
[]
self
.
outer_flow
=
outer_flow
self
.
entry_point
=
ControlBlock
()
self
.
exit_point
=
ExitBlock
()
self
.
blocks
.
add
(
self
.
exit_point
)
...
...
@@ -661,7 +659,7 @@ class ControlFlowAnalysis(CythonTransform):
self
.
env_stack
.
append
(
self
.
env
)
self
.
env
=
node
.
local_scope
self
.
stack
.
append
(
self
.
flow
)
self
.
flow
=
ControlFlow
(
self
.
flow
)
self
.
flow
=
ControlFlow
()
# Collect all entries
for
entry
in
node
.
local_scope
.
entries
.
values
():
...
...
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