compiler.cfg.alias-analysis: fix ##compare where operands are copies

db4
Slava Pestov 2009-10-01 23:54:19 -05:00
parent 2a4475f85e
commit fb09d67936
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ M: ##copy analyze-aliases*
: useless-compare? ( insn -- ? )
{
[ cc>> cc= eq? ]
[ [ src1>> vreg>ac ] [ src2>> vreg>ac ] bi = not ]
[ [ src1>> ] [ src2>> ] bi [ resolve vreg>ac ] bi@ = not ]
} 1&& ; inline
M: ##compare analyze-aliases*