diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1995-07-17 16:11:32 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1995-07-17 16:11:32 +0000 |
commit | 0a0580379ae9f4df1241024ffc4a9f0c8ab7cf3b (patch) | |
tree | d845a875c1d18f3029cce662cac5c45cdb45f086 /testasmcomp | |
parent | 3e935fb50151d87b8939a88addfdb6f76039a7a6 (diff) |
MAJ conventions de caml_c_call.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@112 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'testasmcomp')
-rw-r--r-- | testasmcomp/Makefile | 1 | ||||
-rw-r--r-- | testasmcomp/alpha.asm | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/testasmcomp/Makefile b/testasmcomp/Makefile index 4034752dc..ba798f01c 100644 --- a/testasmcomp/Makefile +++ b/testasmcomp/Makefile @@ -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 \ diff --git a/testasmcomp/alpha.asm b/testasmcomp/alpha.asm index 4df83456e..9384609de 100644 --- a/testasmcomp/alpha.asm +++ b/testasmcomp/alpha.asm @@ -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) |