Next: , Previous: CompiledCode class-tables, Up: CompiledCode


1.38.4 CompiledCode: accessing

at: anIndex put: aBytecode
Store aBytecode as the anIndex-th bytecode


blockAt: anIndex
Answer the CompiledBlock attached to the anIndex-th literal, assuming that the literal is a CompiledBlock or a BlockClosure.


bytecodeAt: anIndex
Answer the anIndex-th bytecode


bytecodeAt: anIndex put: aBytecode
Store aBytecode as the anIndex-th bytecode


flags
Private - Answer the optimization flags for the receiver


isAnnotated
Answer `false'.


literalAt: anIndex
Answer the anIndex-th literal


literalAt: anInteger put: aValue
Store aValue as the anIndex-th literal


literals
Answer the literals referenced by my code or any CompiledCode instances I own.


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 for the receiver


numLiterals
Answer the number of literals for the receiver


numTemps
Answer the number of temporaries for the receiver


primitive
Answer the primitive called 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.


stackDepth
Answer the number of stack slots needed for the receiver