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.
22 lines
476 B
22 lines
476 B
26 years ago
|
package jode;
|
||
|
import sun.tools.java.Type;
|
||
|
|
||
|
public class MonitorEnterOperator extends SimpleOperator {
|
||
|
public MonitorEnterOperator(int a, int l) {
|
||
|
super(a,l, Type.tVoid, 0, 1);
|
||
|
operandTypes[0] = Type.tObject;
|
||
|
}
|
||
|
|
||
|
public int getPriority() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public int getOperandPriority(int i) {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public String toString(CodeAnalyzer ca, String[] operands) {
|
||
|
return "monitorenter "+operands[0];
|
||
|
}
|
||
|
}
|