Skip to content

Commit b1ce37d

Browse files
committed
py: If setjmp NLR implementation is forced, omit native versions.
1 parent 851c856 commit b1ce37d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

py/nlrthumb.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#ifdef __thumb2__
1+
#if defined(__thumb2__) && !MICROPY_NLR_SETJMP
22
/* thumb callee save: bx, bp, sp, r12, r14, r14, r15 */
33

44
.syntax unified

py/nlrx64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#ifdef __x86_64__
1+
#if defined(__x86_64__) && !MICROPY_NLR_SETJMP
22
/* x64 callee save: bx, bp, sp, r12, r13, r14, r15 */
33

44
.file "nlr.s"

py/nlrx86.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#ifdef __i386__
1+
#if defined(__i386__) && !MICROPY_NLR_SETJMP
22
/* x86 callee save: bx, di, si, bp, sp */
33

44
.file "nlr.s"

0 commit comments

Comments
 (0)