Fix two logic errors uncovered by the static analyzer.

For the default case (illegal encoding type), just return false instead of break.

A8.6.84 LDRSH (register)
A8.6.309 VLD1 (single element to all lanes)


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137699 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp b/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
index 4c0de5b..f729dbb 100644
--- a/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
+++ b/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
@@ -7657,7 +7657,7 @@
                 break;
                   
             default:
-                break;
+                return false;
         }
                   
         uint64_t Rm = ReadRegisterUnsigned (eRegisterKindDWARF, dwarf_r0 + m, 0, &success);
@@ -11960,10 +11960,10 @@
                 if (n == 15)
                     return false;
             }
-                break;
+            break;
                 
             default:
-                break;
+                return false;
         }
         
         RegisterInfo base_reg;