Bug 706885 - Move post barrier verifier to JSRuntime; r=billm

This commit is contained in:
Terrence Cole
2013-01-28 15:59:02 -08:00
parent 41283f23f9
commit 21abf78578
25 changed files with 164 additions and 215 deletions

View File

@@ -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;