haikuwebkit/LayoutTests/js/dfg-new-array-while-having-...

13 lines
394 B
Plaintext

Tests that DFG NewArray works when having a bad time.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS foo()[0] is "foo" on all iterations including after DFG tier-up.
PASS foo()[1] is 42 on all iterations including after DFG tier-up.
PASS foo()[2].f is 23 on all iterations including after DFG tier-up.
PASS successfullyParsed is true
TEST COMPLETE