зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/regexp/ (r=jorendorff)
--HG-- extra : rebase_source : cb9f3b98675bebe13bfe63ffcfb46242b2b6db6a
This commit is contained in:
Родитель
9b5799d71d
Коммит
5041ed1832
|
@ -1,12 +1,11 @@
|
|||
// |jit-test| skip-if: !wasmIsSupported()
|
||||
|
||||
// On ARM64, we failed to save x28 properly when generating code for the regexp
|
||||
// matcher.
|
||||
//
|
||||
// There's wasm and Debugger code here because the combination forces the use of
|
||||
// x28 and exposes the bug when running on the simulator.
|
||||
|
||||
if (!wasmIsSupported())
|
||||
quit();
|
||||
|
||||
var g = newGlobal('');
|
||||
var dbg = new Debugger(g);
|
||||
g.eval(`var m = new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary('(module (func (export "test")))')))`);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
if (helperThreadCount() === 0)
|
||||
quit(0);
|
||||
// |jit-test| skip-if: helperThreadCount() === 0
|
||||
|
||||
offThreadCompileScript(`
|
||||
function foo(x, {}) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче