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
Gwenaël Samain
cython
Commits
51e31a55
Commit
51e31a55
authored
Sep 30, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dead code
parent
314f8753
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
Cython/Compiler/UtilNodes.py
Cython/Compiler/UtilNodes.py
+0
-13
No files found.
Cython/Compiler/UtilNodes.py
View file @
51e31a55
...
...
@@ -27,8 +27,6 @@ class TempHandle(object):
def
ref
(
self
,
pos
):
return
TempRefNode
(
pos
,
handle
=
self
,
type
=
self
.
type
)
def
cleanup_ref
(
self
,
pos
):
return
CleanupTempRefNode
(
pos
,
handle
=
self
,
type
=
self
.
type
)
class
TempRefNode
(
AtomicExprNode
):
# THIS IS DEPRECATED, USE LetRefNode instead
...
...
@@ -65,17 +63,6 @@ class TempRefNode(AtomicExprNode):
rhs
.
generate_post_assignment_code
(
code
)
rhs
.
free_temps
(
code
)
class
CleanupTempRefNode
(
TempRefNode
):
# THIS IS DEPRECATED, USE LetRefNode instead
# handle TempHandle
def
generate_assignment_code
(
self
,
rhs
,
code
,
overloaded_assignment
=
False
):
pass
def
generate_execution_code
(
self
,
code
):
if
self
.
type
.
is_pyobject
:
code
.
put_decref_clear
(
self
.
result
(),
self
.
type
)
self
.
handle
.
needs_cleanup
=
False
class
TempsBlockNode
(
Node
):
# THIS IS DEPRECATED, USE LetNode instead
...
...
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