Package bytecodeparser.analysis.Opcodes

Examples of bytecodeparser.analysis.Opcodes.OpParameterType


 
  public static int[] decodeValues(OpParameterType[] parameterTypes, CodeIterator iterator, int index) {
    int[] result = new int[parameterTypes.length];
    int nextValIndex = index + 1;
    for(int i = 0; i < parameterTypes.length; i++) {
      OpParameterType type = parameterTypes[i];
      result[i] = decodeValueAt(type, iterator, nextValIndex);
      nextValIndex += type.size;
    }
    return result;
  }
View Full Code Here


          break;
        default:
          throw new RuntimeException("unsupported basecode=" + cpop.baseCode + "(" + cpop.getName() + ")");
      }
    } else {
      OpParameterType type = cpop.getParameterTypes()[0];
      int value = cpop.decode(context, index).parameterValues[0];
      if(type == OpParameterType.S1 || type == OpParameterType.S2) {
        for(int i = 0; i < getPops().length; i++) {
          stack.pop(getPops()[i]);
        }
View Full Code Here

TOP

Related Classes of bytecodeparser.analysis.Opcodes.OpParameterType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.