Implement Harmony weak maps (bug 547941, r=jorendorff).

This commit is contained in:
Andreas Gal
2011-04-16 21:23:44 -07:00
parent 4850ed6521
commit 821b8221a0
14 changed files with 582 additions and 12 deletions

View File

@@ -211,7 +211,9 @@ const char *const js_common_atom_names[] = {
"has", /* hasAtom */
"hasOwn", /* hasOwnAtom */
"keys", /* keysAtom */
"iterate" /* iterateAtom */
"iterate", /* iterateAtom */
"WeakMap" /* WeakMapAtom */
};
JS_STATIC_ASSERT(JS_ARRAY_LENGTH(js_common_atom_names) * sizeof(JSAtom *) ==