kernel ;
IN: compiler.cfg.alias-analysis.tests
+[ ] [
+ {
+ T{ ##peek f V int-regs 2 D 1 f }
+ T{ ##box-alien f V int-regs 1 V int-regs 2 }
+ T{ ##slot-imm f V int-regs 3 V int-regs 1 0 3 }
+ } alias-analysis drop
+] unit-test
+
[ ] [
{
T{ ##load-indirect f V int-regs 1 "hello" }
#! object.
dup dst>> set-new-ac ;
+M: ##box-float analyze-aliases*
+ #! A freshly allocated object is distinct from any other
+ #! object.
+ dup dst>> set-new-ac ;
+
+M: ##box-alien analyze-aliases*
+ #! A freshly allocated object is distinct from any other
+ #! object.
+ dup dst>> set-new-ac ;
+
M: ##read analyze-aliases*
dup dst>> set-heap-ac
dup [ dst>> ] [ insn-slot# ] [ insn-object ] tri