Commit 03960539 authored by Stefan Behnel's avatar Stefan Behnel

comment

parent 3f305e43
...@@ -733,6 +733,10 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): ...@@ -733,6 +733,10 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
This transform cannot make use of any argument types, but it can This transform cannot make use of any argument types, but it can
restructure the tree in a way that the type analysis phase can restructure the tree in a way that the type analysis phase can
respond to. 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 # only intercept on call nodes
visit_Node = Visitor.VisitorTransform.recurse_to_children visit_Node = Visitor.VisitorTransform.recurse_to_children
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment