mjc

Uses of Class
org.multijava.util.classfile.Instruction

Packages that use Instruction
org.multijava.dis   
org.multijava.mjc Implements mjc, a MultiJava compiler. 
org.multijava.util.backend Provides an optimizer for methods for the compilers in MultiJava and the Java Modeling Language
org.multijava.util.classfile Provides an editor for classfiles used by MultiJava and the Java Modeling Language
org.multijava.util.optimize Provides an optimizer for classfiles used by MultiJava and the Java Modeling Language
 

Uses of Instruction in org.multijava.dis
 

Fields in org.multijava.dis declared as Instruction
private  Instruction InstructionHandle.instruction
           
 

Methods in org.multijava.dis with parameters of type Instruction
private  void InstructionHandle.writeInstruction(IndentingWriter out, Instruction insn)
          Prints an instruction (dispatches to instruction types).
 

Constructors in org.multijava.dis with parameters of type Instruction
HandleCreator(Instruction[] insns, InstructionHandle[] handles)
          Creates a new HandleCreator object
InstructionHandle(Instruction instruction, int address)
          Creates a new instruction handle.
 

Uses of Instruction in org.multijava.mjc
 

Fields in org.multijava.mjc declared as Instruction
private  Instruction[] CodeSequence.instructions
           
 

Methods in org.multijava.mjc that return Instruction
 Instruction CodeSequence.getInstructionAt(int pc)
          Returns the instruction at a given position
 Instruction[] CodeSequence.getInstructionArray()
          Return the instruction as a list WARNING: AFTER a call to release() this array will be reused
 

Methods in org.multijava.mjc with parameters of type Instruction
 void CodeSequence.plantInstruction(Instruction insn)
          Adds an instruction to the code of the current method.
 

Uses of Instruction in org.multijava.util.backend
 

Fields in org.multijava.util.backend declared as Instruction
private  Instruction InstructionHandle.insn
           
 

Methods in org.multijava.util.backend that return Instruction
private  Instruction[] Optimizer.buildInstructionArray()
          Build the array of the instructions resulting from the optimization process.
 Instruction InstructionHandle.getInstruction()
          Returns the enclosed instruction.
 

Methods in org.multijava.util.backend with parameters of type Instruction
private  void Optimizer.dumpCode(Instruction[] insns)
           
 void InstructionHandle.replaceBy(Instruction insn)
          replaceBy
 void InstructionHandle.replaceBy(Instruction[] insns)
          replaceBy
 void CodeSequence.plantInstruction(Instruction insn)
          Adds an instruction at the end of the sequence
 

Constructors in org.multijava.util.backend with parameters of type Instruction
InstructionHandle(Instruction insn, InstructionHandle prev)
          Creates a new instruction handle.
HandleCreator(Instruction[] insns, InstructionHandle[] handles)
          Creates a new HandleCreator object
QIinc(Instruction insn, QTemporary temp)
           
 

Uses of Instruction in org.multijava.util.classfile
 

Subclasses of Instruction in org.multijava.util.classfile
 class ClassRefInstruction
          Instructions that refers to class: opc_anewarray, opc_checkcast, opc_instanceof, opc_new
 class FieldRefInstruction
          Instructions thar refers to class fields opc_getstatic, opc_putstatic, opc_getfield, opc_putfield
 class IincInstruction
          Some instructions are perniticky enough that its simpler to write them separately instead of smushing them with all the rest.
 class InvokeinterfaceInstruction
          Some instructions are perniticky enough that its simpler to write them separately instead of smushing them with all the rest.
 class JumpInstruction
          This class represents instructions that take a label as argument.
 class LocalVarInstruction
          This class represents instructions that take a local variable as argument.
 class MethodRefInstruction
          Instruction that references method opc_invokevirtual,_invokespecial, opc_invokestatic
 class MultiarrayInstruction
          Some instructions are perniticky enough that its simpler to write them separately instead of smushing them with all the rest.
 class NewarrayInstruction
          This class represents instructions that take a local variable as argument.
 class NoArgInstruction
          This class represents instructions that take no arguments.
 class PushLiteralInstruction
          This class encapsulates the instructions pushing a literal on the stack: bipush, sipush, ldc, ldc_w, ldc2_w, dconst_<d>, fconst_<f>, iconst_<i>, lconst_<l>
 class SwitchInstruction
          Some instructions are persnickety enough that its simpler to write them separately instead of smushing them with all the rest.
 

Fields in org.multijava.util.classfile declared as Instruction
private  Instruction[] CodeInfo.instructions
           
private  Instruction[] InstructionIO.instructions
           
private  Instruction InstructionHandle.insn
           
 

Methods in org.multijava.util.classfile that return Instruction
 Instruction[] CodeInfo.getInstructions()
          Returns the instruction of code
static Instruction[] InstructionIO.read(DataInput in, ConstantPool cp)
          Constructs an array of instructions from a class file stream
 Instruction InstructionHandle.getInstruction()
          Returns the enclosed instruction.
 

Methods in org.multijava.util.classfile with parameters of type Instruction
(package private) static Attribute AttributeList.readCodeInfoAttribute(DataInput in, ConstantPool cp, Instruction[] insns)
          This method calls each member of the attribute parsing chain-of-responsibility, in order, to read the next CodeInfo attribute in the given input stream.
abstract  Attribute AttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but only parses attributes that may appear within a CodeInfo attribute.
 Attribute BaseAttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but only parses attributes that may appear within a CodeInfo attribute.
 Attribute MJAttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but only parses attributes that may appear within a CodeInfo attribute.
 Attribute UniverseAttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input stream, and parses it if is is recognized, but only parses attributes that may appear within a CodeInfo attribute.
 

Constructors in org.multijava.util.classfile with parameters of type Instruction
CodeInfo(Instruction[] instructions, HandlerInfo[] handlers, LineNumberInfo[] lineNumbers, LocalVariableInfo[] localVariables)
          Make up a new attribute
AttributeList(DataInput in, ConstantPool cp, Instruction[] insns)
          Constructs an sub-attribute list of CodeInfo from a class file stream
LineNumberInfo(DataInput in, ConstantPool cp, Instruction[] insns)
          Create an entry in the line number table from a class file stream
LocalVariableInfo(DataInput in, ConstantPool cp, Instruction[] insns)
          Create an entry in the line number table from a class file stream
HandlerInfo(DataInput in, ConstantPool cp, Instruction[] insns)
          Constructs a new exception handler info entry from a class file
InstructionHandle(Instruction insn, InstructionHandle prev)
          Creates a new instruction handle.
HandleCreator(Instruction[] insns, InstructionHandle[] handles)
          Creates a new HandleCreator object
LineNumberTable(DataInput in, ConstantPool cp, Instruction[] insns)
          Constructs a line number table attribute from a class file stream.
LocalVariableTable(DataInput in, ConstantPool cp, Instruction[] insns)
          Constructs a line number table attribute from a class file stream.
 

Uses of Instruction in org.multijava.util.optimize
 

Fields in org.multijava.util.optimize declared as Instruction
private  Instruction InstructionHandle.insn
           
 

Methods in org.multijava.util.optimize that return Instruction
private  Instruction[] Optimizer.buildInstructionArray()
          Build the array of the instructions resulting from the optimization process.
 Instruction InstructionHandle.getInstruction()
          Returns the enclosed instruction.
 

Methods in org.multijava.util.optimize with parameters of type Instruction
private  void Optimizer.dumpCode(Instruction[] insns)
           
 void InstructionHandle.replaceBy(Instruction insn)
          replaceBy
 void InstructionHandle.replaceBy(Instruction[] insns)
          replaceBy
 

Constructors in org.multijava.util.optimize with parameters of type Instruction
HandleCreator(Instruction[] insns, InstructionHandle[] handles)
          Creates a new HandleCreator object
InstructionHandle(Instruction insn, InstructionHandle prev)
          Creates a new instruction handle.
 


mjc

mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.