diff options
| author | Jason Molenda <jmolenda@apple.com> | 2014-10-17 01:56:57 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2014-10-17 01:56:57 +0000 |
| commit | 81926c3ffe461b9b3e773bfb37304eb17dfb5e54 (patch) | |
| tree | acf2b4a422d5400aade9d5c63219cad1215ee7e5 | |
| parent | 9bdc4e1a59a89b35d6625057b4e91fe8b7073756 (diff) | |
| download | bcm5719-llvm-81926c3ffe461b9b3e773bfb37304eb17dfb5e54.tar.gz bcm5719-llvm-81926c3ffe461b9b3e773bfb37304eb17dfb5e54.zip | |
Add #if 0 around unreachable block of code to suppress warnings.
clang warnings.
llvm-svn: 220025
| -rw-r--r-- | lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp index fa8681ed69f..bc358a98524 100644 --- a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp +++ b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp @@ -9873,12 +9873,14 @@ EmulateInstructionARM::EmulateSTREX (const uint32_t opcode, const ARMEncoding en if (!WriteRegisterUnsigned (context, eRegisterKindDWARF, dwarf_r0 + t, 0)) return false; } +#if 0 // unreachable because if true else { // R[d] = 1; if (!WriteRegisterUnsigned (context, eRegisterKindDWARF, dwarf_r0 + t, 1)) return false; } +#endif // unreachable because if true } return true; } |

