[llvm-commits] [llvm] r153875 - /llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp

Silviu Baranga silviu.baranga at arm.com
Mon Apr 2 08:46:46 PDT 2012


Author: sbaranga
Date: Mon Apr  2 10:46:46 2012
New Revision: 153875

URL: http://llvm.org/viewvc/llvm-project?rev=153875&view=rev
Log:
Second part for the 153874 one

Modified:
    llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp

Modified: llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp?rev=153875&r1=153874&r2=153875&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp Mon Apr  2 10:46:46 2012
@@ -552,12 +552,12 @@
     // 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; }
   }





More information about the llvm-commits mailing list