[llvm-commits] [llvm] r137154 - /llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Owen Anderson
resistor at mac.com
Tue Aug 9 14:38:14 PDT 2011
Author: resistor
Date: Tue Aug 9 16:38:14 2011
New Revision: 137154
URL: http://llvm.org/viewvc/llvm-project?rev=137154&view=rev
Log:
Silence an false-positive warning.
Modified:
llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Modified: llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp?rev=137154&r1=137153&r2=137154&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp Tue Aug 9 16:38:14 2011
@@ -949,7 +949,7 @@
unsigned imm = fieldFromInstruction32(Val, 7, 5);
unsigned U = fieldFromInstruction32(Val, 12, 1);
- ARM_AM::ShiftOpc ShOp;
+ ARM_AM::ShiftOpc ShOp = ARM_AM::lsl;
switch (type) {
case 0:
ShOp = ARM_AM::lsl;
More information about the llvm-commits
mailing list