зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/baseline/ (r=jorendorff)
--HG-- extra : rebase_source : 9822a2e5ce4f8b0bff43fd699cd2ceac4aea19e7
This commit is contained in:
Родитель
47ba62db37
Коммит
b185498dc4
|
@ -1,8 +1,4 @@
|
|||
if (helperThreadCount() == 0)
|
||||
quit();
|
||||
|
||||
if (!("oomAtAllocation" in this && "resetOOMFailure" in this))
|
||||
quit();
|
||||
// |jit-test| skip-if: helperThreadCount() === 0 || !('oomAtAllocation' in this)
|
||||
|
||||
if ("gczeal" in this)
|
||||
gczeal(0);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
if (!this.hasOwnProperty("TypedObject"))
|
||||
quit();
|
||||
// |jit-test| skip-if: !this.hasOwnProperty("TypedObject")
|
||||
|
||||
var T = TypedObject;
|
||||
ValueStruct = new T.StructType({
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
if (!('oomTest' in this))
|
||||
quit();
|
||||
// |jit-test| skip-if: !('oomTest' in this)
|
||||
|
||||
function f(s) {
|
||||
s + "x";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
if (!('oomTest' in this))
|
||||
quit();
|
||||
// |jit-test| skip-if: !('oomTest' in this)
|
||||
|
||||
oomTest(new Function(`
|
||||
let kJSEmbeddingMaxTypes = 1000000;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
if (!('oomTest' in this))
|
||||
quit();
|
||||
// |jit-test| skip-if: !('oomTest' in this)
|
||||
|
||||
oomTest(new Function(`
|
||||
var a = ['p', 'q', 'r', 's', 't'];
|
||||
|
|
Загрузка…
Ссылка в новой задаче