]> gitweb.factorcode.org Git - factor.git/commitdiff
llvm.ffi: need to fix stack effect for the false case.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 8 Jan 2020 16:51:41 +0000 (08:51 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 8 Jan 2020 16:51:41 +0000 (08:51 -0800)
extra/llvm/ffi/ffi.factor

index 84583e7c0631511c80c749135f20ab8da3cfdae0..4bc921ec4b604d8ecc759613b1a1906d6af67343 100644 (file)
@@ -8,7 +8,7 @@ IN: llvm.ffi
     { [ os linux? ] [ "LLVM-3.9" find-so ] }
     { [ os macosx? ] [ "/usr/local/opt/llvm/lib/libLLVM.dylib" ] }
     [ drop f ]
-} cond [ cdecl add-library ] when*
+} cond [ cdecl add-library ] [ drop ] if*
 >>
 
 LIBRARY: llvm