]> gitweb.factorcode.org Git - factor.git/commitdiff
fixed vm ptr passing to box_value_struct
authorPhil Dawes <phil@phildawes.net>
Thu, 27 Aug 2009 18:49:57 +0000 (19:49 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 16 Sep 2009 07:20:50 +0000 (08:20 +0100)
basis/cpu/x86/64/64.factor

index 925de44c23409d7ef5b7fd1b5ccc3947e524b50b..498a502fcac63ab487fe80b9e9cbd008d4f2361b 100644 (file)
@@ -165,7 +165,7 @@ M: x86.64 %box-large-struct ( n c-type -- )
     ! Compute destination address
     param-reg-1 swap struct-return@ LEA
     ! Copy the struct from the C stack
-    "box_value_struct" f %alien-invoke ;
+    "box_value_struct" %vm-invoke-3rd-arg ;
 
 M: x86.64 %prepare-box-struct ( -- )
     ! Compute target address for value struct return