1 USING: accessors compiler.cfg.debugger
2 compiler.cfg.instructions compiler.cfg.registers
3 compiler.cfg.save-contexts kernel namespaces tools.test
4 cpu.x86.assembler.operands cpu.architecture ;
5 IN: compiler.cfg.save-contexts.tests
7 H{ } clone representations set
14 0 get [ insert-save-context ] change-instructions drop
25 4 vreg-counter set-global
29 T{ ##box f 4 3 "from_signed_4" int-rep
30 T{ gc-map { scrub-d B{ 0 0 0 } } { scrub-r B{ } } { gc-roots { } } }
34 0 get [ insert-save-context ] change-instructions drop
39 T{ ##save-context f 5 6 }
40 T{ ##box f 4 3 "from_signed_4" int-rep
41 T{ gc-map { scrub-d B{ 0 0 0 } } { scrub-r B{ } } { gc-roots { } } }
53 0 get [ insert-save-context ] change-instructions drop
58 T{ ##save-context f 7 8 }