Bug 1482178 - IonBuilder needs to access script zone from any thread, r=jandem

--HG--
extra : topic : nursery.strings.fix
extra : rebase_source : a8d4c0f88c22ae4354eddce0dc6a6c77d85797b8
This commit is contained in:
Steve Fink 2018-08-22 10:48:27 -07:00
parent 68af33dddb
commit d5a201ece6

View file

@ -279,7 +279,7 @@ IonBuilderMatches(const CompilationSelector& selector, jit::IonBuilder* builder)
bool match(JSScript* script) { return script == builder_->script(); } bool match(JSScript* script) { return script == builder_->script(); }
bool match(Realm* realm) { return realm == builder_->script()->realm(); } bool match(Realm* realm) { return realm == builder_->script()->realm(); }
bool match(Zone* zone) { return zone == builder_->script()->zone(); } bool match(Zone* zone) { return zone == builder_->script()->zoneFromAnyThread(); }
bool match(JSRuntime* runtime) { return runtime == builder_->script()->runtimeFromAnyThread(); } bool match(JSRuntime* runtime) { return runtime == builder_->script()->runtimeFromAnyThread(); }
bool match(AllCompilations all) { return true; } bool match(AllCompilations all) { return true; }
bool match(ZonesInState zbs) { bool match(ZonesInState zbs) {