fpizlo@apple.com | 3a048c0 | 2013-05-25 23:31:20 +0000 | [diff] [blame] | 1 | description( |
2 | "Tests that the (-2147483648/-1)|0 case in the DFG is handled correctly even when there is some interesting register allocation going on." | ||||
3 | ); | ||||
4 | |||||
5 | function foo(c, d, a, b) { | ||||
6 | return (c + d) + ((a / b) | 0); | ||||
7 | } | ||||
8 | |||||
fpizlo@apple.com | c0dac9e | 2013-09-08 20:58:43 +0000 | [diff] [blame] | 9 | dfgShouldBe(foo, "foo(0, 0, -2147483647-1, -1)", "-2147483647-1"); |
fpizlo@apple.com | 3a048c0 | 2013-05-25 23:31:20 +0000 | [diff] [blame] | 10 |