-
- Downloads
py/emitnative: Add support for return/break/continue in try and with.
This patch adds full support for unwinding jumps to the native emitter. This means that return/break/continue can be used in try-except, try-finally and with statements. For code that doesn't use unwinding jumps there is almost no overhead added to the generated code.
Showing
- py/compile.c 7 additions, 1 deletionpy/compile.c
- py/emitnarm.c 4 additions, 2 deletionspy/emitnarm.c
- py/emitnative.c 119 additions, 27 deletionspy/emitnative.c
- py/emitnthumb.c 4 additions, 2 deletionspy/emitnthumb.c
- py/emitnx64.c 4 additions, 2 deletionspy/emitnx64.c
- py/emitnx86.c 4 additions, 2 deletionspy/emitnx86.c
- py/emitnxtensa.c 4 additions, 2 deletionspy/emitnxtensa.c
Please register or sign in to comment