You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/src/jdk.graal.compiler.test/src/jdk/graal/compiler/truffle/test/BytecodeDSLPartialEvaluationTest.java
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -203,9 +203,7 @@ public void testTryCatch() {
203
203
BasicInterpreterroot = parseNodeForPE(interpreterClass, "sum", b -> {
204
204
b.beginRoot(LANGUAGE);
205
205
206
-
BytecodeLocalex = b.createLocal();
207
-
208
-
b.beginTryCatch(ex);
206
+
b.beginTryCatch();
209
207
210
208
b.beginThrowOperation();
211
209
b.emitLoadConstant(1L);
@@ -215,7 +213,7 @@ public void testTryCatch() {
215
213
b.beginAddOperation();
216
214
217
215
b.beginReadExceptionOperation();
218
-
b.emitLoadLocal(ex);
216
+
b.emitLoadException();
219
217
b.endReadExceptionOperation();
220
218
221
219
b.emitLoadConstant(1L);
@@ -253,11 +251,9 @@ public void testTryCatch2() {
253
251
BasicInterpreterroot = parseNodeForPE(interpreterClass, "sum", b -> {
0 commit comments