Next: , Previous: , Up: CompiledBlock   [Index]


1.38.2 CompiledBlock: accessing

flags

Answer the ‘cleanness’ of the block. 0 = clean; 1 = access to receiver variables and/or self; 2-30 = access to variables that are 1-29 contexts away; 31 = return from method or push thisContext

method

Answer the CompiledMethod in which the receiver lies

methodClass

Answer the class in which the receiver is installed.

methodClass: methodClass

Set the receiver’s class instance variable

numArgs

Answer the number of arguments passed to the receiver

numLiterals

Answer the number of literals for the receiver

numTemps

Answer the number of temporary variables used by the receiver

selector

Answer the selector through which the method is called

selector: aSymbol

Set the selector through which the method is called

sourceCodeLinesDelta

Answer the delta from the numbers in LINE_NUMBER bytecodes to source code line numbers.

sourceCodeMap

Answer an array which maps bytecode indices to source code line numbers. 0 values represent invalid instruction pointer indices.

stackDepth

Answer the number of stack slots needed for the receiver