mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 730208 - Implement js::IsIncrementalBarrierNeededOnScript. r=billm
--HG-- extra : rebase_source : 2f065e0dae6c2789b547b677eb0e8ebb466feec2
This commit is contained in:
parent
bbc1dda5da
commit
b4d3e4eef9
@ -768,6 +768,12 @@ IsIncrementalBarrierNeededOnObject(JSObject *obj)
|
||||
return obj->compartment()->needsBarrier();
|
||||
}
|
||||
|
||||
JS_FRIEND_API(bool)
|
||||
IsIncrementalBarrierNeededOnScript(JSScript *script)
|
||||
{
|
||||
return script->compartment()->needsBarrier();
|
||||
}
|
||||
|
||||
extern JS_FRIEND_API(void)
|
||||
IncrementalReferenceBarrier(void *ptr)
|
||||
{
|
||||
|
@ -724,6 +724,9 @@ IsIncrementalBarrierNeeded(JSContext *cx);
|
||||
extern JS_FRIEND_API(bool)
|
||||
IsIncrementalBarrierNeededOnObject(JSObject *obj);
|
||||
|
||||
extern JS_FRIEND_API(bool)
|
||||
IsIncrementalBarrierNeededOnScript(JSScript *obj);
|
||||
|
||||
extern JS_FRIEND_API(void)
|
||||
IncrementalReferenceBarrier(void *ptr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user