diff options
| author | Silviu Baranga <silviu.baranga@arm.com> | 2012-04-02 15:46:46 +0000 |
|---|---|---|
| committer | Silviu Baranga <silviu.baranga@arm.com> | 2012-04-02 15:46:46 +0000 |
| commit | 98144e9e1aeba0d56a1b4309e2b285648f0bd5a1 (patch) | |
| tree | 27cc6d8c6f030164384da83a2e8ce3fc9edffb1f /llvm/utils/TableGen | |
| parent | ac37acd31b2e49365948f7fa524c07dc2a3d5eac (diff) | |
| download | bcm5719-llvm-98144e9e1aeba0d56a1b4309e2b285648f0bd5a1.tar.gz bcm5719-llvm-98144e9e1aeba0d56a1b4309e2b285648f0bd5a1.zip | |
Second part for the 153874 one
llvm-svn: 153875
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/FixedLenDecoderEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp index 10e04a60ddd..9b676f21a1d 100644 --- a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp +++ b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp @@ -552,12 +552,12 @@ void Filter::emit(raw_ostream &o, unsigned &Indentation) const { // encoding bits do not match exactly. if (!DefaultCase) { ++Indentation; ++Indentation; } - bool finished = filterIterator->second->emit(o, Indentation); + filterIterator->second->emit(o, Indentation); // For top level default case, there's no need for a break statement. if (Owner->isTopLevel() && DefaultCase) break; - if (!finished) - o.indent(Indentation) << "break;\n"; + + o.indent(Indentation) << "break;\n"; if (!DefaultCase) { --Indentation; --Indentation; } } |

