tests/argCast.R

library(RLLVMCompile)

m = Module()
fib = Function("fib", Int32Type, Int32Type, module = m)

f =
function()
{
  fib(3)
}
fc = compileFunction(f, Int32Type,  module = m)
duncantl/RLLVMCompile documentation built on May 15, 2019, 5:31 p.m.