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 | 545b962f1565eaf9ba0f7dfa1b0a74c43359022d (patch) | |
tree | af6a44d684ef846c7d21669b4aa7ee93fe69b724 /utils | |
parent | 50ac2e9229044681b1c060125cf4d0ce1fc44d71 (diff) | |
download | external_llvm-545b962f1565eaf9ba0f7dfa1b0a74c43359022d.zip external_llvm-545b962f1565eaf9ba0f7dfa1b0a74c43359022d.tar.gz external_llvm-545b962f1565eaf9ba0f7dfa1b0a74c43359022d.tar.bz2 |
Second part for the 153874 one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/FixedLenDecoderEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/FixedLenDecoderEmitter.cpp b/utils/TableGen/FixedLenDecoderEmitter.cpp index 10e04a6..9b676f2 100644 --- a/utils/TableGen/FixedLenDecoderEmitter.cpp +++ b/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; } } |