haikuwebkit/LayoutTests/js/dfg-constant-fold-logical-n...

12 lines
434 B
Plaintext

Tests what happens if we fail to constant fold a LogicalNot that leads into a branch, when the CFA proves that the LogicalNot has a constant value.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS foo1(new Stuff()) is 43 on all iterations including after DFG tier-up.
PASS foo2(new Stuff()) is 58 on all iterations including after DFG tier-up.
PASS successfullyParsed is true
TEST COMPLETE