public class CheckedTarget extends StackTarget
autoTruncates
Ignore, pushObject
Constructor and Description |
---|
CheckedTarget(Type type) |
CheckedTarget(Type type,
LambdaExp proc,
int argno) |
CheckedTarget(Type type,
java.lang.String procname,
int argno) |
Modifier and Type | Method and Description |
---|---|
protected void |
doCoerce(Compilation comp) |
static void |
emitCheckedCoerce(Compilation comp,
LambdaExp proc,
int argno,
Type stackType,
Type type,
Variable argValue) |
static void |
emitCheckedCoerce(Compilation comp,
java.lang.String procname,
int argno,
Type type) |
protected StackTarget |
getClonedInstance(Type type) |
static Target |
getInstance(Declaration decl) |
static Target |
getInstance(Type type) |
static Target |
getInstance(Type type,
LambdaExp proc,
int argno) |
static Target |
getInstance(Type type,
java.lang.String procname,
int argno) |
compileFromStack, compileFromStack0, convert, emitCoerceFromObject, forceLazy, forceLazyIfNeeded, getTruncatingInstance, getType
public CheckedTarget(Type type)
public CheckedTarget(Type type, java.lang.String procname, int argno)
public static Target getInstance(Declaration decl)
protected StackTarget getClonedInstance(Type type)
getClonedInstance
in class StackTarget
protected void doCoerce(Compilation comp)
doCoerce
in class StackTarget
public static void emitCheckedCoerce(Compilation comp, java.lang.String procname, int argno, Type type)
public static void emitCheckedCoerce(Compilation comp, LambdaExp proc, int argno, Type stackType, Type type, Variable argValue)