Method | Description | |
---|---|---|
FCodeEmit ( |
||
FCodeEmit ( |
||
emit ( ) : void |
Translate fcode to IL.
|
|
emit ( bool debug ) : void |
Method | Description | |
---|---|---|
@as ( ) : void | ||
@is ( ) : void | ||
Peek ( int index ) : int | ||
boolBox ( ) : void | ||
boolUnbox ( bool cast ) : void | ||
callCtor ( ) : void | ||
callMixinNonVirtual ( ) : void | ||
callMixinStatic ( ) : void | ||
callMixinVirtual ( ) : void | ||
callNew ( ) : void | ||
callNonVirtual ( ) : void | ||
callStatic ( ) : void | ||
callVirtual ( ) : void | ||
cast ( ) : void | ||
catchAllStart ( ) : void | ||
catchEnd ( ) : void | ||
catchErrStart ( ) : void | ||
coerce ( ) : void | ||
compare ( ) : void | ||
compareEQ ( ) : void | ||
compareGE ( ) : void | ||
compareGT ( ) : void | ||
compareLE ( ) : void | ||
compareLT ( ) : void | ||
compareNE ( ) : void | ||
compareNotNull ( ) : void | ||
compareNotSame ( ) : void | ||
compareNull ( ) : void | ||
compareSame ( ) : void | ||
consumeOp ( ) : int | ||
doCompare ( string suffix ) : void | ||
doCompare ( string suffix, |
||
doLeave ( ) : void | ||
doThrow ( ) : void | ||
dup ( ) : void | ||
emitInstructions ( ) : void |
Map fcode instructions to IL instructions.
|
|
finallyEnd ( ) : void | ||
finallyStart ( ) : void | ||
floatBox ( ) : void | ||
floatUnbox ( bool cast ) : void | ||
getLastTryBlock ( ) : |
||
initRegs ( |
Map to .NET register info for the given Fantom local variables.
|
|
intBox ( ) : void | ||
intUnbox ( bool cast ) : void | ||
jump ( ) : void | ||
jumpFalse ( ) : void | ||
jumpTrue ( ) : void | ||
loadDecimal ( ) : void | ||
loadDuration ( ) : void | ||
loadFalse ( ) : void | ||
loadFloat ( ) : void | ||
loadInstance ( ) : void | ||
loadInt ( ) : void | ||
loadIntVal ( ) : void | ||
loadMixinStatic ( ) : void | ||
loadStatic ( ) : void | ||
loadStr ( ) : void | ||
loadTrue ( ) : void | ||
loadType ( ) : void | ||
loadType ( |
||
loadUri ( ) : void | ||
loadVar ( ) : void | ||
loadVar ( |
Load variable onto stack using Java type and java index (which might not map to Fantom index. Return next available java index
|
|
loadVar ( |
||
makeErrTable ( ) : void |
Process error table (if specified). We handle catches of Err using a catch any (0 class index). We also need to add extra entries into the exception table for special exceptions - for example NullErr get's mapped as fan.sys.NullErr+Val and java.lang.NullPointerException.
|
|
makeLineNumbers ( ) : void |
Read out the line numbers and stick them in a hashmap.
|
|
maxLocals ( System.Reg regs ) : int |
Given a list of registers compute the max locals.
|
|
peekOp ( ) : int | ||
pop ( ) : void | ||
reg ( int fanIndex ) : System.Reg | ||
returnOp ( ) : void | ||
storeInstance ( ) : void | ||
storeMixinStatic ( ) : void | ||
storeStatic ( ) : void | ||
storeVar ( ) : void | ||
storeVar ( int stackType, int index ) : void | ||
tableswitch ( ) : void | ||
typeToNullable ( ) : void | ||
u1 ( ) : int | ||
u2 ( ) : int | ||
u4 ( ) : int | ||
varStackType ( int index ) : int |
public FCodeEmit ( |
||
parent | ||
fcode | ||
code | ||
regs | System.Reg | |
ret | ||
return | System |
public FCodeEmit ( |
||
parent | ||
fmethod | ||
code | ||
return | System |