protected void readInfo(byte[] code, int offset) { int variableIndexSize = variableIndexSize(); int constantSize = constantSize(); // Also initialize embedded variable indexes. if (variableIndexSize == 0) { // An embedded variable index can be decoded as follows. variableIndex = opcode < InstructionConstants.OP_ISTORE_0 ? (opcode - InstructionConstants.OP_ILOAD_0 ) & 3 : (opcode - InstructionConstants.OP_ISTORE_0) & 3; } else { variableIndex = readValue(code, offset, variableIndexSize); offset += variableIndexSize; } constant = readSignedValue(code, offset, constantSize); }
protected void readInfo(byte[] code, int offset) { int variableIndexSize = variableIndexSize(); int constantSize = constantSize(); // Also initialize embedded variable indexes. if (variableIndexSize == 0) { // An embedded variable index can be decoded as follows. variableIndex = opcode < InstructionConstants.OP_ISTORE_0 ? (opcode - InstructionConstants.OP_ILOAD_0 ) & 3 : (opcode - InstructionConstants.OP_ISTORE_0) & 3; } else { variableIndex = readValue(code, offset, variableIndexSize); offset += variableIndexSize; } constant = readSignedValue(code, offset, constantSize); }
protected void readInfo(byte[] code, int offset) { int variableIndexSize = variableIndexSize(); int constantSize = constantSize(); // Also initialize embedded variable indexes. if (variableIndexSize == 0) { // An embedded variable index can be decoded as follows. variableIndex = opcode < InstructionConstants.OP_ISTORE_0 ? (opcode - InstructionConstants.OP_ILOAD_0 ) & 3 : (opcode - InstructionConstants.OP_ISTORE_0) & 3; } else { variableIndex = readValue(code, offset, variableIndexSize); offset += variableIndexSize; } constant = readSignedValue(code, offset, constantSize); }
protected void readInfo(byte[] code, int offset) { int variableIndexSize = variableIndexSize(); int constantSize = constantSize(); // Also initialize embedded variable indexes. if (variableIndexSize == 0) { // An embedded variable index can be decoded as follows. variableIndex = opcode < InstructionConstants.OP_ISTORE_0 ? (opcode - InstructionConstants.OP_ILOAD_0 ) & 3 : (opcode - InstructionConstants.OP_ISTORE_0) & 3; } else { variableIndex = readValue(code, offset, variableIndexSize); offset += variableIndexSize; } constant = readSignedValue(code, offset, constantSize); }