Kick tinderboxen out of a Linux orange that looks bogus

This commit is contained in:
Jeff Walden
2009-04-18 22:09:37 -07:00
parent 0cd7463886
commit 8c9a261c41

View File

@@ -102,7 +102,12 @@
/* Small arrays are dense, no matter what. */
#define MIN_SPARSE_INDEX 256
#define INDEX_TOO_BIG(index) ((index) > JS_BIT(29) - 1)
static inline bool
INDEX_TOO_BIG(jsuint index)
{
return index > JS_BIT(29) - 1;
}
#define INDEX_TOO_SPARSE(array, index) \
(INDEX_TOO_BIG(index) || \
((index) > js_DenseArrayCapacity(array) && (index) >= MIN_SPARSE_INDEX && \