mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 958432 - Add jit-test. r=me
This commit is contained in:
parent
ffd308ad0c
commit
78e9b2c004
27
js/src/jit-test/tests/ion/bug958432.js
Normal file
27
js/src/jit-test/tests/ion/bug958432.js
Normal 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()()))
|
||||
})()
|
||||
}
|
Loading…
Reference in New Issue
Block a user