MAJ conventions de caml_c_call.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@112 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
3e935fb501
commit
0a0580379a
|
@ -22,6 +22,7 @@ INCLUDES=-I ../utils -I ../typing -I ../asmcomp
|
|||
|
||||
OTHEROBJS=../utils/misc.cmo ../utils/tbl.cmo \
|
||||
../utils/clflags.cmo ../utils/config.cmo \
|
||||
../parsing/location.cmo \
|
||||
../typing/ident.cmo ../typing/path.cmo ../typing/subst.cmo \
|
||||
../typing/predef.cmo ../typing/env.cmo \
|
||||
../bytecomp/lambda.cmo \
|
||||
|
|
|
@ -37,11 +37,8 @@ call_gen_code:
|
|||
caml_c_call:
|
||||
lda $sp, -16($sp)
|
||||
stq $26, 0($sp)
|
||||
stq $gp, 8($sp)
|
||||
mov $25, $27
|
||||
jsr ($25)
|
||||
jsr ($27)
|
||||
ldq $26, 0($sp)
|
||||
ldq $gp, 8($sp)
|
||||
lda $sp, 16($sp)
|
||||
ret ($26)
|
||||
|
||||
|
|
Loading…
Reference in New Issue