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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
123003db
Commit
123003db
authored
Sep 23, 2008
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded code now that result code is deferred.
parent
6c8d66d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
Cython/Compiler/Optimize.py
Cython/Compiler/Optimize.py
+0
-7
No files found.
Cython/Compiler/Optimize.py
View file @
123003db
...
@@ -171,11 +171,4 @@ class FinalOptimizePhase(Visitor.CythonTransform):
...
@@ -171,11 +171,4 @@ class FinalOptimizePhase(Visitor.CythonTransform):
node
.
function
.
type
=
node
.
function
.
entry
.
type
node
.
function
.
type
=
node
.
function
.
entry
.
type
PyTypeObjectPtr
=
PyrexTypes
.
CPtrType
(
object_module
.
lookup
(
'PyTypeObject'
).
type
)
PyTypeObjectPtr
=
PyrexTypes
.
CPtrType
(
object_module
.
lookup
(
'PyTypeObject'
).
type
)
node
.
args
[
1
]
=
ExprNodes
.
CastNode
(
node
.
args
[
1
],
PyTypeObjectPtr
)
node
.
args
[
1
]
=
ExprNodes
.
CastNode
(
node
.
args
[
1
],
PyTypeObjectPtr
)
# Remove when result_code stuff is put in its proper place...
node
.
function
.
result_code
=
node
.
function
.
entry
.
cname
node
.
args
[
1
].
result_code
=
node
.
args
[
1
].
arg
.
result_as
(
PyTypeObjectPtr
)
if
node
.
is_temp
:
node
.
allocate_temp
(
None
,
node
.
result_code
)
else
:
node
.
allocate_temp
(
None
)
return
node
return
node
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