projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.20.19:
[sbcl.git]
/
src
/
runtime
/
sparc-assem.S
diff --git
a/src/runtime/sparc-assem.S
b/src/runtime/sparc-assem.S
index
c766729
..
9107951
100644
(file)
--- a/
src/runtime/sparc-assem.S
+++ b/
src/runtime/sparc-assem.S
@@
-1,12
+1,15
@@
#define _ASM
#define _ASM
-#define FUNCDEF(x) .type x,@function
+#include "sparc-funcdef.h"
#define LANGUAGE_ASSEMBLY
#include "lispregs.h"
#include "globals.h"
#include "sbcl.h"
#define LANGUAGE_ASSEMBLY
#include "lispregs.h"
#include "globals.h"
#include "sbcl.h"
-
+#include "genesis/closure.h"
+#include "genesis/fdefn.h"
+#include "genesis/static-symbols.h"
+#include "genesis/simple-fun.h"
#define load(sym, reg) \
sethi %hi(sym), reg; ld [reg+%lo(sym)], reg
#define load(sym, reg) \
sethi %hi(sym), reg; ld [reg+%lo(sym)], reg
@@
-197,6
+200,8
@@
call_into_c:
ret
nop
ret
nop
+/* Lisp calling convention. notice the first .byte line.
+ */
.global undefined_tramp
FUNCDEF(undefined_tramp)
.align 8
.global undefined_tramp
FUNCDEF(undefined_tramp)
.align 8
@@
-219,6
+224,8
@@
undefined_tramp = . + 1
jmp reg_CODE+SIMPLE_FUN_CODE_OFFSET
nop
jmp reg_CODE+SIMPLE_FUN_CODE_OFFSET
nop
+/* Lisp calling convention. Notice the first .byte line.
+ */
.global closure_tramp
FUNCDEF(closure_tramp)
.align 8
.global closure_tramp
FUNCDEF(closure_tramp)
.align 8
@@
-284,4
+291,3
@@
save_context:
ta ST_FLUSH_WINDOWS ! flush register windows
retl ! return from leaf routine
nop
ta ST_FLUSH_WINDOWS ! flush register windows
retl ! return from leaf routine
nop
-