haikuwebkit/LayoutTests/js/dfg-constant-fold-uncapture...

11 lines
356 B
Plaintext

Tests that constant folding an access to an uncaptured variable that is captured later in the same basic block doesn't lead to assertion failures.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS foo(true, 5)[0] is 462 on all iterations including after DFG tier-up.
PASS successfullyParsed is true
TEST COMPLETE