summaryrefslogtreecommitdiff
path: root/src/fjbg/ch/epfl/lamp/fjbg/JOpcode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/fjbg/ch/epfl/lamp/fjbg/JOpcode.java')
-rw-r--r--src/fjbg/ch/epfl/lamp/fjbg/JOpcode.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fjbg/ch/epfl/lamp/fjbg/JOpcode.java b/src/fjbg/ch/epfl/lamp/fjbg/JOpcode.java
index ca144a6b8d..f7ee688784 100644
--- a/src/fjbg/ch/epfl/lamp/fjbg/JOpcode.java
+++ b/src/fjbg/ch/epfl/lamp/fjbg/JOpcode.java
@@ -1201,7 +1201,7 @@ public class JOpcode {
case cDUP2_X2:
return 6;
default:
- throw FJBGContext.mkFatal(this.toString());
+ throw new Error(this.toString());
}
}
}
@@ -1220,7 +1220,7 @@ public class JOpcode {
case cDUP2_X2:
return 4;
default:
- throw FJBGContext.mkFatal(this.toString());
+ throw new Error(this.toString());
}
}
}
@@ -1240,7 +1240,7 @@ public class JOpcode {
case cDUP_X1:
return 3;
default:
- throw FJBGContext.mkFatal(this.toString());
+ throw new Error(this.toString());
}
}
}
@@ -1256,7 +1256,7 @@ public class JOpcode {
case cDUP2: case cDUP2_X1: case cPOP2: case cSWAP:
return 2;
default:
- throw FJBGContext.mkFatal(this.toString());
+ throw new Error(this.toString());
}
}
}