-
- Downloads
py: Fix bug where GC collected native/viper/asm function data.
Because (for Thumb) a function pointer has the LSB set, pointers to dynamic functions in RAM (eg native, viper or asm functions) were not being traced by the GC. This patch is a comprehensive fix for this. Addresses issue #820.
Showing
- bare-arm/mpconfigport.h 3 additions, 1 deletionbare-arm/mpconfigport.h
- py/asmthumb.c 1 addition, 2 deletionspy/asmthumb.c
- py/bc.h 1 addition, 1 deletionpy/bc.h
- py/emitglue.c 13 additions, 14 deletionspy/emitglue.c
- py/emitglue.h 8 additions, 8 deletionspy/emitglue.h
- py/mpconfig.h 6 additions, 0 deletionspy/mpconfig.h
- py/obj.c 1 addition, 1 deletionpy/obj.c
- py/obj.h 15 additions, 16 deletionspy/obj.h
- py/objfun.c 116 additions, 58 deletionspy/objfun.c
- py/objtype.c 1 addition, 1 deletionpy/objtype.c
- py/runtime.h 0 additions, 4 deletionspy/runtime.h
- qemu-arm/mpconfigport.h 3 additions, 1 deletionqemu-arm/mpconfigport.h
- stmhal/help.c 0 additions, 1 deletionstmhal/help.c
- stmhal/mpconfigport.h 5 additions, 3 deletionsstmhal/mpconfigport.h
- teensy/mpconfigport.h 3 additions, 3 deletionsteensy/mpconfigport.h
- tests/micropython/native.py 10 additions, 0 deletionstests/micropython/native.py
- tests/micropython/native.py.exp 2 additions, 0 deletionstests/micropython/native.py.exp
- tests/micropython/viper.py 9 additions, 0 deletionstests/micropython/viper.py
- tests/micropython/viper.py.exp 2 additions, 0 deletionstests/micropython/viper.py.exp
- unix/main.c 6 additions, 4 deletionsunix/main.c
Loading
Please register or sign in to comment