impc:ir:function-calling-convention   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/llvmir.xtm

Implementation

;; this is (possibly?) broken for poly funcs
(define impc:ir:function-calling-convention
  (lambda (function-name)
    (if (not (impc:ti:closure-or-nativefunc-exists? function-name))
        #f
        (if (impc:ti:closure-exists? function-name)
            "fastcc"
            "ccc"))))


Back to Index