[llvm-commits] [llvm] r162848 - /llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp

Eric Christopher echristo at apple.com
Wed Aug 29 10:59:32 PDT 2012


Author: echristo
Date: Wed Aug 29 12:59:32 2012
New Revision: 162848

URL: http://llvm.org/viewvc/llvm-project?rev=162848&view=rev
Log:
Clean this up slightly, doesn't really fall through.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp?rev=162848&r1=162847&r2=162848&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp Wed Aug 29 12:59:32 2012
@@ -209,8 +209,7 @@
 ///
 unsigned DIEInteger::SizeOf(AsmPrinter *AP, unsigned Form) const {
   switch (Form) {
-  case dwarf::DW_FORM_flag_present: // Fall thru
-    return 0;
+  case dwarf::DW_FORM_flag_present: return 0;
   case dwarf::DW_FORM_flag:  // Fall thru
   case dwarf::DW_FORM_ref1:  // Fall thru
   case dwarf::DW_FORM_data1: return sizeof(int8_t);





More information about the llvm-commits mailing list