01: package net.sf.jdec.jvminstructions.commands;
02:
03: import net.sf.jdec.core.OperandStack;
04: import net.sf.jdec.reflection.Behaviour;
05:
06: public class PopCommand extends AbstractInstructionCommand {
07:
08: public PopCommand(Behaviour context) {
09: super (context);
10:
11: }
12:
13: public int getSkipBytes() {
14: return 0;
15: }
16:
17: public void execute() {
18: OperandStack opStack = getStack();
19: if (opStack.size() > 0) // removed add==true
20: {
21: //if(info[i+1]!=JvmOpCodes.GETSTATIC) ??
22: opStack.getTopOfStack();
23: }
24: }
25:
26: }
|