projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f305e4
)
comment
author
Stefan Behnel
<scoder@users.berlios.de>
Wed, 9 Dec 2009 15:59:37 +0000
(16:59 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Wed, 9 Dec 2009 15:59:37 +0000
(16:59 +0100)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 8c97b0743d45231578a829d89ef9062ec347d5b5..989ca2d80b5592d644c623abbda29bef432d27fc 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-733,6
+733,10
@@
class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
This transform cannot make use of any argument types, but it can
restructure the tree in a way that the type analysis phase can
respond to.
+
+ Introducing C function calls here may not be a good idea. Move
+ them to the OptimizeBuiltinCalls transform instead, which runs
+ after type analyis.
"""
# only intercept on call nodes
visit_Node = Visitor.VisitorTransform.recurse_to_children