Bug 958432 - Add jit-test. r=me

This commit is contained in:
Jan de Mooij 2014-03-28 14:56:43 -04:00
parent ffd308ad0c
commit 78e9b2c004

View File

@ -0,0 +1,27 @@
function h(i, i) {
i = ([Infinity([])])(1 ? l : arguments)
}
for (var j = 0; j < 2; ++j) {
try {
h(-Number, -Number)
} catch (e) {}
}
function f() {
function f(i0, i1) {
i0 = i0 | 0;
i = i1 | 0;
switch (1) {
case -3:
switch (f) {}
} {
return 0
}(arguments)
}
return f
};
for (var j = 0; j < 5; ++j) {
(function(x) {
f()(f()(x, f()()))
})()
}