Lines Matching refs:opcode

52     public VariableInstruction(byte opcode)
54 this(opcode, embeddedVariable(opcode), 0);
58 public VariableInstruction(byte opcode,
61 this(opcode, variableIndex, 0);
65 public VariableInstruction(byte opcode,
69 this.opcode = opcode;
84 this.opcode = variableInstruction.opcode;
94 * Return the embedded variable of the given opcode, or 0 if the opcode
97 private static int embeddedVariable(byte opcode)
99 switch (opcode)
147 // excludes the ret instruction, which has a negative opcode.
148 return opcode >= InstructionConstants.OP_ISTORE ||
149 opcode == InstructionConstants.OP_IINC;
161 // includes the ret instruction, which has a negative opcode.
162 return opcode < InstructionConstants.OP_ISTORE;
171 switch (opcode)
215 default: return opcode;
221 opcode = canonicalOpcode();
226 switch (opcode)
228 case InstructionConstants.OP_ILOAD: opcode = (byte)(InstructionConstants.OP_ILOAD_0 + variableIndex); break;
229 case InstructionConstants.OP_LLOAD: opcode = (byte)(InstructionConstants.OP_LLOAD_0 + variableIndex); break;
230 case InstructionConstants.OP_FLOAD: opcode = (byte)(InstructionConstants.OP_FLOAD_0 + variableIndex); break;
231 case InstructionConstants.OP_DLOAD: opcode = (byte)(InstructionConstants.OP_DLOAD_0 + variableIndex); break;
232 case InstructionConstants.OP_ALOAD: opcode = (byte)(InstructionConstants.OP_ALOAD_0 + variableIndex); break;
234 case InstructionConstants.OP_ISTORE: opcode = (byte)(InstructionConstants.OP_ISTORE_0 + variableIndex); break;
235 case InstructionConstants.OP_LSTORE: opcode = (byte)(InstructionConstants.OP_LSTORE_0 + variableIndex); break;
236 case InstructionConstants.OP_FSTORE: opcode = (byte)(InstructionConstants.OP_FSTORE_0 + variableIndex); break;
237 case InstructionConstants.OP_DSTORE: opcode = (byte)(InstructionConstants.OP_DSTORE_0 + variableIndex); break;
238 case InstructionConstants.OP_ASTORE: opcode = (byte)(InstructionConstants.OP_ASTORE_0 + variableIndex); break;
265 variableIndex = opcode < InstructionConstants.OP_ISTORE_0 ?
266 (opcode - InstructionConstants.OP_ILOAD_0 ) & 3 :
267 (opcode - InstructionConstants.OP_ISTORE_0) & 3;
328 return (opcode >= InstructionConstants.OP_ILOAD_0 &&
329 opcode <= InstructionConstants.OP_ALOAD_3) ||
330 (opcode >= InstructionConstants.OP_ISTORE_0 &&
331 opcode <= InstructionConstants.OP_ASTORE_3) ? 0 :
356 return opcode != InstructionConstants.OP_IINC ? 0 :
367 return opcode != InstructionConstants.OP_IINC ? 0 :