gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control systemdiff --git a/src/com/quemaster/transformations/mjc2wsl/MicroJavaInput.java b/src/com/quemaster/transformations/mjc2wsl/MicroJavaInput.java
String getRelationFor(int opcode) throws Exception {
switch (opcode) {
String getRelationFor(int opcode) throws Exception {
switch (opcode) {
- case mjc2wsl.jeq:
+ case Mjc2wsl.jeq:
return "=";
return "=";
- case mjc2wsl.jne:
+ case Mjc2wsl.jne:
return "<>";
return "<>";
- case mjc2wsl.jlt:
+ case Mjc2wsl.jlt:
return "<";
return "<";
- case mjc2wsl.jle:
+ case Mjc2wsl.jle:
return "<=";
return "<=";
- case mjc2wsl.jgt:
+ case Mjc2wsl.jgt:
return ">";
return ">";
- case mjc2wsl.jge:
+ case Mjc2wsl.jge:
return ">=";
}
throw new Exception("Wrong opcode for a relation");
}
boolean isJumpCode(int opcode) {
return ">=";
}
throw new Exception("Wrong opcode for a relation");
}
boolean isJumpCode(int opcode) {
- return (opcode >= mjc2wsl.jmp) && (opcode <= mjc2wsl.jge);
+ return (opcode >= Mjc2wsl.jmp) && (opcode <= Mjc2wsl.jge);
}
private HashMap<Integer, String> getOpMap() {
}
private HashMap<Integer, String> getOpMap() {