From 0a0580379ae9f4df1241024ffc4a9f0c8ab7cf3b Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 17 Jul 1995 16:11:32 +0000 Subject: MAJ conventions de caml_c_call. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@112 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- testasmcomp/Makefile | 1 + testasmcomp/alpha.asm | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'testasmcomp') 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) -- cgit v1.2.3-70-g09d2