Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff

This commit is contained in:
Jeff Walden
2012-09-06 13:48:40 -07:00
parent d9d8c4acfb
commit 568284dc14
39 changed files with 446 additions and 475 deletions

View File

@@ -373,7 +373,7 @@ js_InitWeakMapClass(JSContext *cx, JSObject *obj)
return NULL;
RootedFunction ctor(cx, global->createConstructor(cx, WeakMap_construct,
CLASS_NAME(cx, WeakMap), 0));
cx->runtime->atomState.WeakMapAtom, 0));
if (!ctor)
return NULL;