Bug 914255 - Reduce the number of objects tracked in a TypeSet, r=bhackett

This commit is contained in:
Hannes Verschore 2013-11-03 22:22:11 +01:00
parent b6ea42894b
commit 6fc42e400d

View File

@ -347,10 +347,10 @@ enum {
TYPE_FLAG_INT32 | TYPE_FLAG_DOUBLE | TYPE_FLAG_STRING,
/* Mask/shift for the number of objects in objectSet */
TYPE_FLAG_OBJECT_COUNT_MASK = 0x1f00,
TYPE_FLAG_OBJECT_COUNT_LIMIT = 7,
TYPE_FLAG_OBJECT_COUNT_SHIFT = 8,
TYPE_FLAG_OBJECT_COUNT_LIMIT =
TYPE_FLAG_OBJECT_COUNT_MASK >> TYPE_FLAG_OBJECT_COUNT_SHIFT,
TYPE_FLAG_OBJECT_COUNT_MASK = /* = 0x700 */
TYPE_FLAG_OBJECT_COUNT_LIMIT << TYPE_FLAG_OBJECT_COUNT_SHIFT,
/* Whether the contents of this type set are totally unknown. */
TYPE_FLAG_UNKNOWN = 0x00002000,