зеркало из https://github.com/mozilla/gecko-dev.git
No bug. Add missing case in switch to fix compiler warning. r=me.
--HG-- extra : convert_revision : f8bd54f28d02464ff69422477e9139dfaa0d85ae
This commit is contained in:
Родитель
b7b00c3b01
Коммит
f04d49eb7e
|
@ -766,9 +766,11 @@ FragmentAssembler::endFragment()
|
|||
if (mParent.mAssm.error() != nanojit::None) {
|
||||
cerr << "error during assembly: ";
|
||||
switch (mParent.mAssm.error()) {
|
||||
case nanojit::ConditionalBranchTooFar: cerr << "ConditionalBranchTooFar"; break;
|
||||
case nanojit::StackFull: cerr << "StackFull"; break;
|
||||
case nanojit::UnknownBranch: cerr << "UnknownBranch"; break;
|
||||
case nanojit::None: cerr << "None"; break;
|
||||
default: NanoAssert(0); break;
|
||||
}
|
||||
cerr << endl;
|
||||
std::exit(1);
|
||||
|
|
Загрузка…
Ссылка в новой задаче