summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/js/add-recovery-expected.txt
blob: bdbd8cce9d09d8a0612b67ccf2ac94916b7bc59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This tests that speculation recovery of destructive additions on unboxed integers works.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS destructiveAddForBoxedInteger({x:1}, 2, 4) is 9
PASS destructiveAddForBoxedInteger({x:2147483647}, 2, 4) is 2147483655
PASS destructiveAddForBoxedInteger({x:2}, 2147483647, 4) is 4294967300
PASS destructiveAddForBoxedInteger({x:2147483647}, 2147483647, 4) is 6442450945
PASS destructiveAddForBoxedInteger({x:1}, 2, 2147483647) is 2147483652
PASS successfullyParsed is true

TEST COMPLETE