blob: e49411a2103f75b5414795e30d72001826ad1c9c [file] [log] [blame]
fpizlo@apple.com3a048c02013-05-25 23:31:20 +00001description(
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
5function foo(c, d, a, b) {
6 return (c + d) + ((a / b) | 0);
7}
8
fpizlo@apple.comc0dac9e2013-09-08 20:58:43 +00009dfgShouldBe(foo, "foo(0, 0, -2147483647-1, -1)", "-2147483647-1");
fpizlo@apple.com3a048c02013-05-25 23:31:20 +000010