inst/examples/noreturn.R

#
# fun = compileFunction(noreturn, Int32Type, list(Int32Type))
#

noreturn =
function(x)
{
   x + 1L
}

noreturn1 =
function(x)
{
   if(x > 10)
      x + 1L
   else
      x - 1L
}
duncantl/R2llvm documentation built on May 14, 2019, 9:42 a.m.