зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1524201 - add message to static_assert. r=bugfix, CLOSED TREE
This commit is contained in:
Родитель
9221ab830a
Коммит
4a93abc816
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче