You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
450 B
25 lines
450 B
package jode;
|
|
import sun.tools.java.Type;
|
|
|
|
public class DupOperator extends Instruction {
|
|
int count, depth;
|
|
|
|
public DupOperator(int depth, int count) {
|
|
super(MyType.tUnknown);
|
|
this.count = count;
|
|
this.depth = depth;
|
|
}
|
|
|
|
public int getCount(){
|
|
return count;
|
|
}
|
|
|
|
public int getDepth(){
|
|
return depth;
|
|
}
|
|
|
|
public String toString()
|
|
{
|
|
return "dup"+count+"_x"+depth;
|
|
}
|
|
}
|
|
|