]> gitweb.factorcode.org Git - factor.git/commitdiff
cpu.x86.32: fastcall struct returns are different on Linux than everywhere else for...
authorSlava Pestov <slava@factorcode.org>
Mon, 12 Apr 2010 22:44:02 +0000 (18:44 -0400)
committerSlava Pestov <slava@factorcode.org>
Mon, 12 Apr 2010 22:44:02 +0000 (18:44 -0400)
basis/cpu/x86/32/32.factor

index 0127d559970ff65abdf8509263ffb177fa3107bd..40c6bd40dbb379676ab39989170b09b212d379ba 100755 (executable)
@@ -359,6 +359,7 @@ M: long-long-type flatten-value-type (flatten-stack-type) ;
 M: c-type flatten-value-type
     dup rep>> int-rep? [ (flatten-int-type) ] [ (flatten-stack-type) ] if ;
 
-M: x86.32 struct-return-pointer-type (stack-value) ;
+M: x86.32 struct-return-pointer-type
+    os linux? void* (stack-value) ? ;
 
 check-sse