|
|
@ -21,12 +21,10 @@ package jode.decompiler; |
|
|
|
import jode.Type; |
|
|
|
import jode.Type; |
|
|
|
|
|
|
|
|
|
|
|
public class PopOperator extends SimpleOperator { |
|
|
|
public class PopOperator extends SimpleOperator { |
|
|
|
int count; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public PopOperator(int count) { |
|
|
|
public PopOperator(Type argtype) { |
|
|
|
super(Type.tVoid, 0, 1); |
|
|
|
super(Type.tVoid, 0, 1); |
|
|
|
operandTypes[0] = Type.tUnknown; |
|
|
|
operandTypes[0] = argtype; |
|
|
|
this.count = count; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getPriority() { |
|
|
|
public int getPriority() { |
|
|
@ -37,10 +35,6 @@ public class PopOperator extends SimpleOperator { |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getCount() { |
|
|
|
|
|
|
|
return count; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String toString(String[] operands) { |
|
|
|
public String toString(String[] operands) { |
|
|
|
return operands[0]; |
|
|
|
return operands[0]; |
|
|
|
} |
|
|
|
} |
|
|
|