зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1288564 - Baldr: change HeapPtr to ReadBarriered in WeakCache (r=terrence)
MozReview-Commit-ID: 722L1GFAo6c --HG-- extra : rebase_source : 867c492d7114bad15414c6b671888f0ad263e478
This commit is contained in:
Родитель
c87ae9e0a0
Коммит
f58ed6912f
|
@ -517,8 +517,8 @@ struct JSCompartment
|
|||
mozilla::LinkedList<js::UnboxedLayout> unboxedLayouts;
|
||||
|
||||
// All wasm live instances in the compartment.
|
||||
using WasmInstanceObjectSet = js::GCHashSet<js::HeapPtr<js::WasmInstanceObject*>,
|
||||
js::MovableCellHasher<js::HeapPtr<js::WasmInstanceObject*>>,
|
||||
using WasmInstanceObjectSet = js::GCHashSet<js::ReadBarriered<js::WasmInstanceObject*>,
|
||||
js::MovableCellHasher<js::ReadBarriered<js::WasmInstanceObject*>>,
|
||||
js::SystemAllocPolicy>;
|
||||
JS::WeakCache<WasmInstanceObjectSet> wasmInstances;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче