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


1.40.4 CompiledMethod: accessing

allBlocksDo: aBlock

Evaluate aBlock, passing to it all the CompiledBlocks it holds

allLiterals

Answer the literals referred to by the receiver and all the blocks in it

flags

Private - Answer the optimization flags for the receiver

isOldSyntax

Answer whether the method was written with the old (chunk-format) syntax

method

Answer the receiver, since it is already a method.

methodCategory

Answer the method category

methodCategory: aCategory

Set the method category to the given string

methodClass

Answer the class in which the receiver is installed.

methodClass: methodClass

Set the receiver’s class instance variable

noteOldSyntax

Remember that the method is written with the old (chunk-format) syntax

numArgs

Answer the number of arguments 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

withAllBlocksDo: aBlock

Evaluate aBlock, passing the receiver and all the CompiledBlocks it holds

withNewMethodClass: class

Answer either the receiver or a copy of it, with the method class set to class

withNewMethodClass: class selector: selector

Answer either the receiver or a copy of it, with the method class set to class


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