Bug 656519 - Avoid a malloc (and a finalizer) by storing the malloc'd array in our slots instead of in a separate malloc'd structure in our private field. r=mrbkap

This commit is contained in:
Nikhil Marathe
2011-06-14 15:33:11 -04:00
parent 8eb98adfb1
commit cfa1f030fd
7 changed files with 323 additions and 98 deletions

View File

@@ -201,7 +201,9 @@ const char *const js_common_atom_names[] = {
"keys", /* keysAtom */
"iterate", /* iterateAtom */
"WeakMap" /* WeakMapAtom */
"WeakMap", /* WeakMapAtom */
"byteLength" /* byteLengthAtom */
};
void