Bug 1524201 - add message to static_assert. r=bugfix, CLOSED TREE

This commit is contained in:
Lars T Hansen 2019-01-31 13:48:48 +01:00
Родитель 9221ab830a
Коммит 4a93abc816
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1115,8 +1115,8 @@ VFPRegister VFPRegister::singleOverlay(unsigned int which) const {
return VFPRegister(code_, Single);
}
// This is necessary for sintOverlay() to make any kind of sense.
static_assert(FloatRegisters::TotalDouble <= 16);
static_assert(FloatRegisters::TotalDouble <= 16,
"We assume that every Double register also has an Integer personality");
VFPRegister VFPRegister::sintOverlay(unsigned int which) const {
MOZ_ASSERT(!_isInvalid);