1 USING: namespaces byte-arrays make compiler.codegen.fixup
2 bit-arrays accessors classes.struct tools.test kernel math
3 sequences alien.c-types specialized-arrays boxes ;
4 SPECIALIZED-ARRAY: uint
5 IN: compiler.codegen.fixup.tests
10 { gc-root-count uint }
11 { return-address-count uint } ;
19 { { } { } { } } set-next-gc-map
24 { { 0 4 } { 1 } { 1 3 } } set-next-gc-map
32 [ 0 ] [ "result" get length 16 mod ] unit-test
38 ! The below data is 22 bytes -- 6 bytes padding needed to
52 ! Return addresses - 4 bytes
53 uint-array{ 100 } underlying>> %
55 ! GC info footer - 16 bytes
60 { return-address-count 1 }
66 [ ] [ "result" get length "expect" get length assert= ] unit-test
67 [ ] [ "result" get "expect" get assert= ] unit-test