Loading js/src/vm/HelperThreadState.h +1 −1 Original line number Diff line number Diff line Loading @@ -539,7 +539,7 @@ struct ParseTask : public mozilla::LinkedListElement<ParseTask>, bool init(JSContext* cx, const JS::ReadOnlyCompileOptions& options); void moveGCOutputInto(JS::InstantiationStorage& storage); void moveInstantiationStorageInto(JS::InstantiationStorage& storage); void activate(JSRuntime* rt); void deactivate(JSRuntime* rt); Loading js/src/vm/HelperThreads.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -547,7 +547,8 @@ bool ParseTask::init(JSContext* cx, const ReadOnlyCompileOptions& options) { return true; } void ParseTask::moveGCOutputInto(JS::InstantiationStorage& storage) { void ParseTask::moveInstantiationStorageInto( JS::InstantiationStorage& storage) { storage.gcOutput_ = instantiationStorage_.gcOutput_; instantiationStorage_.gcOutput_ = nullptr; } Loading Loading @@ -2312,7 +2313,7 @@ GlobalHelperThreadState::finishStencilTask(JSContext* cx, if (storage) { MOZ_ASSERT(parseTask->options.allocateInstantiationStorage); parseTask->moveGCOutputInto(*storage); parseTask->moveInstantiationStorageInto(*storage); } return parseTask->stencil_.forget(); Loading Loading
js/src/vm/HelperThreadState.h +1 −1 Original line number Diff line number Diff line Loading @@ -539,7 +539,7 @@ struct ParseTask : public mozilla::LinkedListElement<ParseTask>, bool init(JSContext* cx, const JS::ReadOnlyCompileOptions& options); void moveGCOutputInto(JS::InstantiationStorage& storage); void moveInstantiationStorageInto(JS::InstantiationStorage& storage); void activate(JSRuntime* rt); void deactivate(JSRuntime* rt); Loading
js/src/vm/HelperThreads.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -547,7 +547,8 @@ bool ParseTask::init(JSContext* cx, const ReadOnlyCompileOptions& options) { return true; } void ParseTask::moveGCOutputInto(JS::InstantiationStorage& storage) { void ParseTask::moveInstantiationStorageInto( JS::InstantiationStorage& storage) { storage.gcOutput_ = instantiationStorage_.gcOutput_; instantiationStorage_.gcOutput_ = nullptr; } Loading Loading @@ -2312,7 +2313,7 @@ GlobalHelperThreadState::finishStencilTask(JSContext* cx, if (storage) { MOZ_ASSERT(parseTask->options.allocateInstantiationStorage); parseTask->moveGCOutputInto(*storage); parseTask->moveInstantiationStorageInto(*storage); } return parseTask->stencil_.forget(); Loading