compiler.cfg.builder: add test to ensure that fast union predicates do not contain a conditional
parent
5a46b45312
commit
70056d756b
|
@ -224,3 +224,9 @@ IN: compiler.cfg.builder.tests
|
|||
|
||||
! Regression. Make sure branch splitting works.
|
||||
[ 2 ] [ [ 1 2 ? ] [ ##return? ] count-insns ] unit-test
|
||||
|
||||
! Make sure fast union predicates don't have conditionals.
|
||||
[ f ] [
|
||||
[ tag 1 swap fixnum-shift-fast ]
|
||||
[ ##compare-integer-imm-branch? ] contains-insn?
|
||||
] unit-test
|
||||
|
|
Loading…
Reference in New Issue