Compilation fix for 489899.
This commit is contained in:
@@ -901,7 +901,7 @@ js_Array_dense_setelem(JSContext* cx, JSObject* obj, jsint i, jsval v)
|
||||
* Let the interpreter worry about negative array indexes.
|
||||
*/
|
||||
JS_ASSERT((MAX_DSLOTS_LENGTH > JSVAL_INT_MAX) == (sizeof(jsval) != sizeof(uint32)));
|
||||
if (MAX_DSLOTS_SIZE > JSVAL_INT_MAX) {
|
||||
if (MAX_DSLOTS_LENGTH > JSVAL_INT_MAX) {
|
||||
/*
|
||||
* Have to check for negative values bleeding through on 64-bit machines only,
|
||||
* since we can't allocate large enough arrays for this on 32-bit machines.
|
||||
|
||||
Reference in New Issue
Block a user