projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbe557
)
trial fix for PersistentNode (plain guessing)
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 11 Jul 2008 14:17:23 +0000
(16:17 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 11 Jul 2008 14:17:23 +0000
(16:17 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 3216bbad37214c981c5aaaa2f4aeb6a087315a0e..7d7149bf018cb8c15c8419551c89de193de54cec 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-4050,6
+4050,9
@@
class PersistentNode(ExprNode):
self.result_ctype = self.arg.result_ctype
self.is_temp = 1
+ def calculate_result_code(self):
+ return self.arg.result_code
+
def generate_evaluation_code(self, code):
if self.generate_counter == 0:
self.arg.generate_evaluation_code(code)