mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Assert GCRuntime::enter/leaveUnsafe region is main-thread only
This commit is contained in:
parent
37f37bd489
commit
fc206f5ab1
3 changed files with 8 additions and 6 deletions
|
|
@ -54,8 +54,6 @@ class JS_PUBLIC_API(ProfilingFrameIterator)
|
|||
// activation (if any) comes around.
|
||||
void* savedPrevJitTop_;
|
||||
|
||||
JS::AutoCheckCannotGC nogc_;
|
||||
|
||||
static const unsigned StorageSpace = 8 * sizeof(void*);
|
||||
mozilla::AlignedStorage<StorageSpace> storage_;
|
||||
js::wasm::ProfilingFrameIterator& wasmIter() {
|
||||
|
|
@ -139,7 +137,7 @@ class JS_PUBLIC_API(ProfilingFrameIterator)
|
|||
void iteratorConstruct();
|
||||
void iteratorDestroy();
|
||||
bool iteratorDone();
|
||||
};
|
||||
} JS_HAZ_GC_INVALIDATED;
|
||||
|
||||
JS_FRIEND_API(bool)
|
||||
IsProfilingEnabledForContext(JSContext* cx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue