public int stackPushCount(Clazz clazz) { int stackPushCount = super.stackPushCount(clazz); // Some special cases. switch (opcode) { case InstructionConstants.OP_GETSTATIC: case InstructionConstants.OP_GETFIELD: case InstructionConstants.OP_INVOKEVIRTUAL: case InstructionConstants.OP_INVOKESPECIAL: case InstructionConstants.OP_INVOKESTATIC: case InstructionConstants.OP_INVOKEINTERFACE: // The field value or a return value may be pushed onto the stack. clazz.constantPoolEntryAccept(constantIndex, this); stackPushCount += typeStackDelta; break; } return stackPushCount; }
public int stackPushCount(Clazz clazz) { int stackPushCount = super.stackPushCount(clazz); // Some special cases. switch (opcode) { case InstructionConstants.OP_GETSTATIC: case InstructionConstants.OP_GETFIELD: case InstructionConstants.OP_INVOKEVIRTUAL: case InstructionConstants.OP_INVOKESPECIAL: case InstructionConstants.OP_INVOKESTATIC: case InstructionConstants.OP_INVOKEINTERFACE: case InstructionConstants.OP_INVOKEDYNAMIC: // The field value or a return value may be pushed onto the stack. clazz.constantPoolEntryAccept(constantIndex, this); stackPushCount += typeStackDelta; break; } return stackPushCount; }
public int stackPushCount(Clazz clazz) { int stackPushCount = super.stackPushCount(clazz); // Some special cases. switch (opcode) { case InstructionConstants.OP_GETSTATIC: case InstructionConstants.OP_GETFIELD: case InstructionConstants.OP_INVOKEVIRTUAL: case InstructionConstants.OP_INVOKESPECIAL: case InstructionConstants.OP_INVOKESTATIC: case InstructionConstants.OP_INVOKEINTERFACE: case InstructionConstants.OP_INVOKEDYNAMIC: // The field value or a return value may be pushed onto the stack. clazz.constantPoolEntryAccept(constantIndex, this); stackPushCount += typeStackDelta; break; } return stackPushCount; }
public int stackPushCount(Clazz clazz) { int stackPushCount = super.stackPushCount(clazz); // Some special cases. switch (opcode) { case InstructionConstants.OP_GETSTATIC: case InstructionConstants.OP_GETFIELD: case InstructionConstants.OP_INVOKEVIRTUAL: case InstructionConstants.OP_INVOKESPECIAL: case InstructionConstants.OP_INVOKESTATIC: case InstructionConstants.OP_INVOKEINTERFACE: case InstructionConstants.OP_INVOKEDYNAMIC: // The field value or a return value may be pushed onto the stack. clazz.constantPoolEntryAccept(constantIndex, this); stackPushCount += typeStackDelta; break; } return stackPushCount; }
int stackPushCount = instruction.stackPushCount(clazz); int stackPopCount = instruction.stackPopCount(clazz); System.out.println("["+instructionOffset+"]: "+ stackSize += instruction.stackPushCount(clazz);
int stackPushCount = instruction.stackPushCount(clazz); int stackPopCount = instruction.stackPopCount(clazz); System.out.println("["+instructionOffset+"]: "+ stackSize += instruction.stackPushCount(clazz); stackSizesAfter[instructionOffset] = stackSize;
int stackPushCount = instruction.stackPushCount(clazz); int stackPopCount = instruction.stackPopCount(clazz); System.out.println("["+instructionOffset+"]: "+ stackSize += instruction.stackPushCount(clazz); stackSizesAfter[instructionOffset] = stackSize;
int stackPushCount = instruction.stackPushCount(clazz); int stackPopCount = instruction.stackPopCount(clazz); System.out.println("["+instructionOffset+"]: "+ stackSize += instruction.stackPushCount(clazz); stackSizesAfter[instructionOffset] = stackSize;
int pushCount = instruction.stackPushCount(clazz); if (pushCount > 0) int pushCount = instruction.stackPushCount(clazz); if (pushCount > 0)
lastInstructionStackPushCount = instruction.stackPushCount(clazz);
lastInstructionStackPushCount = instruction.stackPushCount(clazz);
lastInstructionStackPushCount = instruction.stackPushCount(clazz);
if (instruction.stackPushCount(clazz) == 1 && (referenceEscapeChecker.isInstanceEscaping(offset) || referenceEscapeChecker.isInstanceReturned(offset)))
int pushCount = instruction.stackPushCount(clazz); if (pushCount > 0) int pushCount = instruction.stackPushCount(clazz); if (pushCount > 0)
int pushCount = instruction.stackPushCount(clazz); if (pushCount > 0) int pushCount = instruction.stackPushCount(clazz); if (pushCount > 0)
if (instruction.stackPushCount(clazz) == 1 && (referenceEscapeChecker.isInstanceEscaping(offset) || referenceEscapeChecker.isInstanceReturned(offset)))
if (instruction.stackPushCount(clazz) == 1 && (referenceEscapeChecker.isInstanceEscaping(offset) || referenceEscapeChecker.isInstanceReturned(offset)))
if (instruction.stackPushCount(clazz) < 1 || !partialEvaluator.getStackAfter(offset).getTopActualProducerValue(0).instructionOffsetValue().contains(newArrayOffset)) if (instruction.stackPushCount(clazz) != 1) if (instruction.stackPushCount(clazz) < 1 || !partialEvaluator.getStackAfter(offset).getTop(0).isParticular())
if (instruction.stackPushCount(clazz) < 1 || !partialEvaluator.getStackAfter(offset).getTopActualProducerValue(0).instructionOffsetValue().contains(newArrayOffset)) if (instruction.stackPushCount(clazz) != 1) if (instruction.stackPushCount(clazz) < 1 || !partialEvaluator.getStackAfter(offset).getTop(0).isParticular())
if (instruction.stackPushCount(clazz) < 1 || !partialEvaluator.getStackAfter(offset).getTopActualProducerValue(0).instructionOffsetValue().contains(newArrayOffset)) if (instruction.stackPushCount(clazz) != 1) if (instruction.stackPushCount(clazz) < 1 || !partialEvaluator.getStackAfter(offset).getTop(0).isParticular())