private Type simplePeek(Frame frame) { Type type = frame.peek(); return (type == Type.TOP) ? frame.getStack(frame.getTopIndex() - 1) : type; }
private String getTopType(int pos) throws BadBytecode { Frame frame = getFrame(pos); if (frame == null) return null; CtClass clazz = frame.peek().getCtClass(); return clazz != null ? Descriptor.toJvmName(clazz) : null; }
private Type simplePeek(Frame frame) { Type type = frame.peek(); return (type == Type.TOP) ? frame.getStack(frame.getTopIndex() - 1) : type; }
private String getTopType(int pos) throws BadBytecode { Frame frame = getFrame(pos); if (frame == null) return null; CtClass clazz = frame.peek().getCtClass(); return clazz != null ? Descriptor.toJvmName(clazz) : null; }
break; case DUP: { Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); frame.push(frame.peek()); break; Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); int insert = end - (opcode - DUP2_X1) - 1; Type type1 = frame.getStack(frame.getTopIndex() - 1); Type type2 = frame.peek(); frame.push(type1); frame.push(type2); case I2C: case I2S: verifyAssignable(Type.INTEGER, frame.peek()); break; case LCMP:
break; case DUP: { Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); frame.push(frame.peek()); break; Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); int insert = end - (opcode - DUP2_X1) - 1; Type type1 = frame.getStack(frame.getTopIndex() - 1); Type type2 = frame.peek(); frame.push(type1); frame.push(type2); case I2C: case I2S: verifyAssignable(Type.INTEGER, frame.peek()); break; case LCMP:
private Type simplePeek(Frame frame) { Type type = frame.peek(); return (type == Type.TOP) ? frame.getStack(frame.getTopIndex() - 1) : type; }
private Type simplePeek(Frame frame) { Type type = frame.peek(); return (type == Type.TOP) ? frame.getStack(frame.getTopIndex() - 1) : type; }
private Type simplePeek(Frame frame) { Type type = frame.peek(); return (type == Type.TOP) ? frame.getStack(frame.getTopIndex() - 1) : type; }
private Type simplePeek(Frame frame) { Type type = frame.peek(); return (type == Type.TOP) ? frame.getStack(frame.getTopIndex() - 1) : type; }
private String getTopType(int pos) throws BadBytecode { Frame frame = getFrame(pos); if (frame == null) return null; CtClass clazz = frame.peek().getCtClass(); return clazz != null ? Descriptor.toJvmName(clazz) : null; }
private String getTopType(int pos) throws BadBytecode { Frame frame = getFrame(pos); if (frame == null) return null; CtClass clazz = frame.peek().getCtClass(); return clazz != null ? Descriptor.toJvmName(clazz) : null; }
private String getTopType(int pos) throws BadBytecode { Frame frame = getFrame(pos); if (frame == null) return null; CtClass clazz = frame.peek().getCtClass(); return clazz != null ? Descriptor.toJvmName(clazz) : null; }
private String getTopType(int pos) throws BadBytecode { Frame frame = getFrame(pos); if (frame == null) return null; CtClass clazz = frame.peek().getCtClass(); return clazz != null ? Descriptor.toJvmName(clazz) : null; }
break; case DUP: { Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); frame.push(frame.peek()); break; Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); int insert = end - (opcode - DUP2_X1) - 1; Type type1 = frame.getStack(frame.getTopIndex() - 1); Type type2 = frame.peek(); frame.push(type1); frame.push(type2); case I2C: case I2S: verifyAssignable(Type.INTEGER, frame.peek()); break; case LCMP:
break; case DUP: { Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); frame.push(frame.peek()); break; Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); int insert = end - (opcode - DUP2_X1) - 1; Type type1 = frame.getStack(frame.getTopIndex() - 1); Type type2 = frame.peek(); frame.push(type1); frame.push(type2); case I2C: case I2S: verifyAssignable(Type.INTEGER, frame.peek()); break; case LCMP:
break; case DUP: { Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); frame.push(frame.peek()); break; Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); int insert = end - (opcode - DUP2_X1) - 1; Type type1 = frame.getStack(frame.getTopIndex() - 1); Type type2 = frame.peek(); frame.push(type1); frame.push(type2); case I2C: case I2S: verifyAssignable(Type.INTEGER, frame.peek()); break; case LCMP:
break; case DUP: { Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); frame.push(frame.peek()); break; Type type = frame.peek(); if (type == Type.TOP) throw new BadBytecode("DUP can not be used with a category 2 value, pos = " + pos); int insert = end - (opcode - DUP2_X1) - 1; Type type1 = frame.getStack(frame.getTopIndex() - 1); Type type2 = frame.peek(); frame.push(type1); frame.push(type2); case I2C: case I2S: verifyAssignable(Type.INTEGER, frame.peek()); break; case LCMP: