mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 13:45:27 +00:00
Bug 925547 - Suppress GC in debug-only call, r=terrence
--HG-- extra : rebase_source : 7ef1a453699c88962140129c9581df379a0637e9
This commit is contained in:
parent
78c2facbb2
commit
8c62d30470
@ -593,6 +593,7 @@ js::ExecuteKernel(JSContext *cx, HandleScript script, JSObject &scopeChainArg, c
|
||||
#ifdef DEBUG
|
||||
if (thisv.isObject()) {
|
||||
RootedObject thisObj(cx, &thisv.toObject());
|
||||
AutoSuppressGC nogc(cx);
|
||||
JS_ASSERT(GetOuterObject(cx, thisObj) == thisObj);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user