summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-03-13 00:14:32 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-03-13 00:14:32 +0000
commit489ac96fcdfcf8d8932066628ffa497b13be0106 (patch)
tree326a786745d3ce25ccd5bd60d84746c0850b8fbd
parent28c16d9a7e5f411a22ea4a4ec4d3e79188bee5a2 (diff)
downloadbcm5719-llvm-489ac96fcdfcf8d8932066628ffa497b13be0106.tar.gz
bcm5719-llvm-489ac96fcdfcf8d8932066628ffa497b13be0106.zip
Turn labels into actual switch cases.
llvm-svn: 127558
-rw-r--r--lldb/include/lldb/Core/EmulateInstruction.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/lldb/include/lldb/Core/EmulateInstruction.h b/lldb/include/lldb/Core/EmulateInstruction.h
index fb447036544..bb9047ef87e 100644
--- a/lldb/include/lldb/Core/EmulateInstruction.h
+++ b/lldb/include/lldb/Core/EmulateInstruction.h
@@ -481,12 +481,11 @@ public:
*success_ptr = true;
switch (m_inst.opcode_type)
{
- eOpcode8: return m_inst.opcode.inst8;
- eOpcode16: return m_inst.opcode.inst16;
- eOpcode32: return m_inst.opcode.inst32;
- eOpcode64: return m_inst.opcode.inst64;
- eOpcodeBytes:
- break;
+ case eOpcode8: return m_inst.opcode.inst8;
+ case eOpcode16: return m_inst.opcode.inst16;
+ case eOpcode32: return m_inst.opcode.inst32;
+ case eOpcode64: return m_inst.opcode.inst64;
+ case eOpcodeBytes: break;
}
if (success_ptr)
*success_ptr = false;
OpenPOWER on IntegriCloud