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: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler/bytecode_dsl/RootNodeCompiler.java
+17-24
Original file line number
Diff line number
Diff line change
@@ -4045,10 +4045,11 @@ public Void visit(StmtTy.Try node) {
4045
4045
*/
4046
4046
BytecodeLocaluncaughtException = b.createLocal();
4047
4047
BytecodeLocalhandlerException = b.createLocal();
4048
-
b.beginFinallyTryCatch(uncaughtException);
4048
+
b.beginFinallyTryCatch(uncaughtException, () -> {
4049
4049
b.beginBlock(); // finally
4050
4050
visitSequence(node.finalBody);
4051
-
b.endBlock(); // finally
4051
+
b.endBlock();
4052
+
});
4052
4053
4053
4054
emitTryExceptElse(node); // try
4054
4055
@@ -4061,9 +4062,7 @@ public Void visit(StmtTy.Try node) {
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/bytecode_dsl/PBytecodeDSLRootNode.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -570,7 +570,8 @@ private final void traceLine(VirtualFrame frame, Node location, int line) {
0 commit comments