]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/classes/struct/struct.factor
FFI rewrite part 5: return value boxing and callback parameter boxing now uses vregs...
[factor.git] / basis / classes / struct / struct.factor
index 37cea6b9f2e2b15c17ed46df319ad7f6b6b3dba6..5a0f21c75056c27c2664ada578e17f3fee91c21c 100644 (file)
@@ -168,14 +168,6 @@ M: struct-c-type c-type ;
 
 M: struct-c-type base-type ;
 
-M: struct-c-type stack-size
-    dup value-struct? [ heap-size cell align ] [ drop cell ] if ;
-
-HOOK: flatten-struct-type cpu ( type -- pairs )
-
-M: object flatten-struct-type
-    stack-size cell /i { int-rep f } <repetition> ;
-
 : large-struct? ( type -- ? )
     {
         { [ dup void? ] [ drop f ] }