forked from mirrors/gecko-dev
Bug 1819090 - Fix frequent cgc test failure in debug/optimized-out-03.js jit-test. r=jonco
The test is checking that we get the "optimized out" value with the debugger API for an Ion-compiled script, but `gczeal` can affect JIT compilations. Differential Revision: https://phabricator.services.mozilla.com/D171101
This commit is contained in:
parent
910d11be4d
commit
277c70c9f2
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
// Test that eval-in-frame throws on accessing optimized out values.
|
||||
|
||||
// Use gczeal 0 to keep CGC from invalidating Ion code and causing test failures.
|
||||
gczeal(0);
|
||||
|
||||
load(libdir + "jitopts.js");
|
||||
|
||||
if (!jitTogglesMatch(Opts_IonEagerNoOffthreadCompilation))
|
||||
|
|
|
|||
Loading…
Reference in a new issue