Commit 9d2b6d78 authored by Stefan Behnel's avatar Stefan Behnel

include missing fast-call utility function

parent a51df339
...@@ -5574,6 +5574,8 @@ class PyMethodCallNode(SimpleCallNode): ...@@ -5574,6 +5574,8 @@ class PyMethodCallNode(SimpleCallNode):
else: else:
arg_offset = arg_offset_cname arg_offset = arg_offset_cname
code.globalstate.use_utility_code(
UtilityCode.load_cached("PyFunctionFastCall", "ObjectHandling.c"))
code.putln("#if CYTHON_FAST_PYCALL") code.putln("#if CYTHON_FAST_PYCALL")
code.putln("if (PyFunction_Check(%s)) {" % function) code.putln("if (PyFunction_Check(%s)) {" % function)
code.putln("PyObject *%s[%d] = {%s, %s};" % ( code.putln("PyObject *%s[%d] = {%s, %s};" % (
......
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