mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Backed out changeset 1890d7511040 (bug 1436983) for failing jit-test
This commit is contained in:
parent
51e03cf5c4
commit
e855dad644
@ -9838,11 +9838,6 @@ CodeGenerator::linkSharedStubs(JSContext* cx)
|
||||
bool
|
||||
CodeGenerator::link(JSContext* cx, CompilerConstraintList* constraints)
|
||||
{
|
||||
// We cancel off-thread Ion compilations in a few places during GC, but if
|
||||
// this compilation was performed off-thread it will already have been
|
||||
// removed from the relevant lists by this point. Don't allow GC here.
|
||||
JS::AutoAssertNoGC nogc(cx);
|
||||
|
||||
RootedScript script(cx, gen->info().script());
|
||||
OptimizationLevel optimizationLevel = gen->optimizationInfo().level();
|
||||
|
||||
@ -9923,7 +9918,7 @@ CodeGenerator::link(JSContext* cx, CompilerConstraintList* constraints)
|
||||
// read barriers which were skipped while compiling the script off thread.
|
||||
Linker linker(masm);
|
||||
AutoFlushICache afc("IonLink");
|
||||
JitCode* code = linker.newCode<NoGC>(cx, ION_CODE, !patchableBackedges_.empty());
|
||||
JitCode* code = linker.newCode<CanGC>(cx, ION_CODE, !patchableBackedges_.empty());
|
||||
if (!code)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user