Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
f53cdd94
Commit
f53cdd94
authored
Jan 04, 2014
by
Mikael Eiman
Browse files
OSX: fixes to make nlrx64.S with Apple's clang (forgot a few places)
parent
5d02e2d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/nlrx64.S
View file @
f53cdd94
...
...
@@ -27,7 +27,9 @@ _nlr_push:
movq
%
rdi
,
nlr_top
(%
rip
)
#
stor
new
nlr_buf
(
to
make
linked
list
)
xorq
%
rax
,
%
rax
#
return
0
,
normal
return
ret
#
return
//
.
size
nlr_push
,
.
-
nlr_push
#ifndef __llvm__
.
size
nlr_push
,
.
-
nlr_push
#endif
/*
void
nlr_pop
()
*/
#ifndef __llvm__
...
...
@@ -42,7 +44,9 @@ _nlr_pop:
movq
(%
rax
),
%
rax
#
load
prev
nlr_buf
movq
%
rax
,
nlr_top
(%
rip
)
#
store
prev
nlr_buf
(
to
unlink
list
)
ret
#
return
//
.
size
nlr_pop
,
.
-
nlr_pop
#ifndef __llvm__
.
size
nlr_pop
,
.
-
nlr_pop
#endif
/*
void
nlr_jump
(
rdi
=
uint
val
)
*/
#ifndef __llvm__
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment