From 83506f8b758f5d5e030b3acdbf9ca88d783bc2fb Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 12 Apr 2016 11:33:32 -0400 Subject: fix type bug in abi3 test --- test/abi3.ssa | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/abi3.ssa b/test/abi3.ssa index 35cade8..cc263c2 100644 --- a/test/abi3.ssa +++ b/test/abi3.ssa @@ -7,6 +7,7 @@ function $test() { @start %a =w loadw $z %y =w add %a, %a + %yl =l extsw %y %s =l alloc8 16 # allocate a :four struct %s1 =l add %s, 12 # get address of the w @@ -14,7 +15,7 @@ function $test() { storew 5, %s1 # set the w # only the last argument should be on the stack - %f =l add $F, %y + %f =l add $F, %yl %x =w call %f(w %y, w 1, w 2, w 3, :four %s, w 6) # store the result in the -- cgit 1.4.1