Bug 706885 - Move post barrier verifier to JSRuntime; r=billm
This commit is contained in:
@@ -322,7 +322,7 @@ WeakMap_set_impl(JSContext *cx, CallArgs args)
|
||||
JS_ReportOutOfMemory(cx);
|
||||
return false;
|
||||
}
|
||||
HashTableWriteBarrierPost(cx->zone(), map, key);
|
||||
HashTableWriteBarrierPost(cx->runtime, map, key);
|
||||
|
||||
args.rval().setUndefined();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user