Squeak Class Documentation category index | class index  
 
AbstractInstructionPrinter
  category: Kernel-Methods
  superclass: Object
  subclasses: InstVarRefLocator

My job is to make it easier to scan bytecodes for specific actions, e.g. any instance variable reference.

BlockContext allInstances collect: [ :x |
{x. x hasInstVarRef}
].

instance methods
  initialize-release
  interpretNextInstructionUsing:

  instruction decoding
  blockReturnTop
doDup
doPop
jump:
jump:if:
methodReturnConstant:
methodReturnReceiver
methodReturnTop
popIntoLiteralVariable:
popIntoReceiverVariable:
popIntoTemporaryVariable:
pushActiveContext
pushConstant:
pushLiteralVariable:
pushReceiver
pushReceiverVariable:
pushTemporaryVariable:
send:super:numArgs:
storeIntoLiteralVariable:
storeIntoReceiverVariable:
storeIntoTemporaryVariable:

class methods
  no messages
 

instance methods
  initialize-release top  
 

interpretNextInstructionUsing:


  instruction decoding top  
 

blockReturnTop

Print the Return Top Of Stack bytecode.


 

doDup

Print the Duplicate Top Of Stack bytecode.


 

doPop

Print the Remove Top Of Stack bytecode.


 

jump:

Print the Unconditional Jump bytecode.


 

jump:if:

Print the Conditional Jump bytecode.


 

methodReturnConstant:

Print the Return Constant bytecode.


 

methodReturnReceiver

Print the Return Self bytecode.


 

methodReturnTop

Print the Return Top Of Stack bytecode.


 

popIntoLiteralVariable:

Print the Remove Top Of Stack And Store Into Literal Variable bytecode.


 

popIntoReceiverVariable:

Print the Remove Top Of Stack And Store Into Instance Variable
bytecode.


 

popIntoTemporaryVariable:

Print the Remove Top Of Stack And Store Into Temporary Variable
bytecode.


 

pushActiveContext

Print the Push Active Context On Top Of Its Own Stack bytecode.


 

pushConstant:

Print the Push Constant, value, on Top Of Stack bytecode.


 

pushLiteralVariable:

Print the Push Contents Of anAssociation On Top Of Stack bytecode.


 

pushReceiver

Print the Push Active Context's Receiver on Top Of Stack bytecode.


 

pushReceiverVariable:

Print the Push Contents Of the Receiver's Instance Variable Whose Index
is the argument, offset, On Top Of Stack bytecode.


 

pushTemporaryVariable:

Print the Push Contents Of Temporary Variable Whose Index Is the
argument, offset, On Top Of Stack bytecode.


 

send:super:numArgs:

Print the Send Message With Selector, selector, bytecode. The argument,
supered, indicates whether the receiver of the message is specified with
'super' in the source method. The arguments of the message are found in
the top numArguments locations on the stack and the receiver just
below them.


 

storeIntoLiteralVariable:

Print the Store Top Of Stack Into Literal Variable Of Method bytecode.


 

storeIntoReceiverVariable:

Print the Store Top Of Stack Into Instance Variable Of Method bytecode.


 

storeIntoTemporaryVariable:

Print the Store Top Of Stack Into Temporary Variable Of Method
bytecode.


class methods
  no messages top