aboutsummaryrefslogtreecommitdiff
path: root/py/nlrx64.S
diff options
context:
space:
mode:
authorDamien George2015-01-01 21:47:58 +0000
committerDamien George2015-01-01 21:47:58 +0000
commit8a2347723eba9899a12799021b4e47bd1fa20282 (patch)
tree9724b91cfbc5c4b6eec2cee2c88f6607c7d0b1f0 /py/nlrx64.S
parent0b2a60acbec3e2789e75c63b391828656ccf1c77 (diff)
py: Move global variable nlr_top to one place, in a .c file.
This reduces dependency on assembler, and allows to consolidate global variables in the future.
Diffstat (limited to 'py/nlrx64.S')
-rw-r--r--py/nlrx64.S15
1 files changed, 0 insertions, 15 deletions
diff --git a/py/nlrx64.S b/py/nlrx64.S
index d00102050..b0c2e7445 100644
--- a/py/nlrx64.S
+++ b/py/nlrx64.S
@@ -131,15 +131,6 @@ nlr_jump:
je _nlr_jump_fail # transfer control to nlr_jump_fail
#endif
-/**************************************/
-// local variable nlr_top
-
-#if !(defined(__APPLE__) && defined(__MACH__))
- .bss
- .local nlr_top
-#endif
- .comm nlr_top,8,8
-
#else // !defined(__CYGWIN__)
/******************************************************************************/
@@ -210,12 +201,6 @@ nlr_jump:
movq %rax, %rcx # put argument back in first-arg register
je nlr_jump_fail # transfer control to nlr_jump_fail
-/**************************************/
-// local variable nlr_top
-
- .bss
- .comm nlr_top,8,8
-
#endif // !defined(__CYGWIN__)
#endif // defined(__x86_64__) && !MICROPY_NLR_SETJMP