R/error.R

Defines functions isRErrorCall

isErrorBlock =
    #
    #  Expects a BasicBlock
    #
function(b)
   any(sapply(b[], isRErrorCall))


isRErrorCall =
function(x)
    is(x, "CallInst") && getCallName(x) == "Rf_error"
duncantl/NativeCodeAnalysis documentation built on Nov. 20, 2023, 5:44 a.m.