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

index 4bdabe30be13b56d5f40a97428d0a34bc037c722..5d5f30fbc261fb2e805f79b34b26817d6d1674f3 100644 (file)
@@ -127,7 +127,7 @@ M:: x86.64 %unbox-large-struct ( n c-type -- )
     ! Load structure size into param-reg-3
     param-reg-3 c-type heap-size MOV
     ! Copy the struct to the C stack
-    "to_value_struct" f %alien-invoke ;
+    "to_value_struct" %vm-invoke-4th-arg ;
 
 : load-return-value ( rep -- )
     [ [ 0 ] dip reg-class-of param-reg ]
@@ -194,7 +194,7 @@ M: x86.64 %alien-invoke
 
 
 M: x86.64 %prepare-alien-indirect ( -- )
-    "unbox_alien" f %alien-invoke
+    "unbox_alien" %vm-invoke-1st-arg
     RBP RAX MOV ;
 
 M: x86.64 %alien-indirect ( -- )