;; a helper for returning a native closure (if one exists!)
(define llvm:get-native-closure
(lambda (name)
(if (impc:aot:currently-compiling?)
(impc:compiler:print-not-during-aot-error)
(let ((f (llvm:get-function (string-append name "_getter"))))
(if f (llvm:run f)
'())))))