impc:ir:compiler:null   scheme


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

Implementation

(define impc:ir:compiler:null
  (lambda (ast types)
    (let* ((os (make-string 0))
           (a (impc:ir:compiler (cadr ast) types))
           (at (impc:ir:gname)))
      (emit a os)
      (emit  (impc:ir:gname "val" "i1") " = icmp eq " (cadr at) " " (car at) ", null\n" os)
      (impc:ir:strip-space os))))


Back to Index

Similar Entries

  • LFO_OPT_NULL    scheme
  • impc:ti:null-check    scheme
  • impc:ti:null?-check    scheme
  • json_null_p    xtlang