logo

class

compiler::CodeAsm

sys::Obj
  compiler::CompilerSupport
    compiler::CodeAsm

CodeAsm is used to assemble the fcode instructions of an Expr or Block.

Slots

block

Void block(Block block)

Source

code

Buf code

Source

errCount

Int errCount

Source

errTable

Buf errTable

Source

expr

Void expr(Expr expr)

Source

finishCode

Buf finishCode()

Finish writing out the exception handling table

Source

finishErrTable

Buf finishErrTable()

Finish writing out the exception handling table

Source

finishLines

Buf finishLines()

Finish writing out the line number table

Source

fpod

FPod fpod

Source

lastLine

Int lastLine := -1

Source

leavesToReturn

Int[] leavesToReturn

Source

lineCount

Int lineCount

Source

lines

Buf lines

Source

location

Location location

Source

loopStack

Loop[] loopStack

Source

make

new make(Compiler compiler, Location location, FPod fpod)

Source

op

Void op(FOp op, Int arg := null)

Append a opcode with option two byte argument.

Source

protectedRegions

ProtectedRegion[] protectedRegions

Source

returnLocal

MethodVar returnLocal

Source

stmt

Void stmt(Stmt stmt)

Source