Bug 921364 - Fix unsigned warning in js/src/jit/shared/CodeGenerator-shared.cpp. r=luke

This commit is contained in:
Michael Shuen 2013-10-05 10:47:24 -04:00
Родитель e424826f91
Коммит c0b664a7cb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -127,7 +127,7 @@ ToStackIndex(LAllocation *a)
return a->toStackSlot()->slot();
}
JS_ASSERT(-int32_t(sizeof(IonJSFrameLayout)) <= a->toArgument()->index());
return -(sizeof(IonJSFrameLayout) + a->toArgument()->index());
return -int32_t(sizeof(IonJSFrameLayout) + a->toArgument()->index());
}
bool