зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/saved-stacks/ (r=jorendorff)
--HG-- extra : rebase_source : 312ae833959e6413b9f538f28f4d7d5059ae679b
This commit is contained in:
Родитель
379d35e422
Коммит
188d5bdfff
|
@ -1,4 +1,4 @@
|
|||
// |jit-test| --no-baseline
|
||||
// |jit-test| --no-baseline; skip-if: !('oomTest' in this)
|
||||
//
|
||||
// For background, see the comments for LiveSavedFrameCache in js/src/vm/Stack.h.
|
||||
//
|
||||
|
@ -19,9 +19,6 @@
|
|||
// interrupted the code at the proper place and revealed the crash, but did so
|
||||
// with a test that took 90s to run. This test runs in a fraction of a second.
|
||||
|
||||
if (!('oomTest' in this))
|
||||
quit();
|
||||
|
||||
function f() {
|
||||
// Ensure that we will try to allocate fresh SavedFrame objects.
|
||||
clearSavedFrames();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if (!('oomTest' in this))
|
||||
quit();
|
||||
// |jit-test| skip-if: !('oomTest' in this)
|
||||
|
||||
let s = saveStack();
|
||||
oomTest(() => { saveStack(); });
|
||||
|
|
Загрузка…
Ссылка в новой задаче