[llvm-commits] [llvm] r138642 - /llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Jim Grosbach
grosbach at apple.com
Fri Aug 26 14:13:15 PDT 2011
Thanks!
On Aug 26, 2011, at 12:39 PM, Owen Anderson wrote:
> Author: resistor
> Date: Fri Aug 26 14:39:26 2011
> New Revision: 138642
>
> URL: http://llvm.org/viewvc/llvm-project?rev=138642&view=rev
> Log:
> Update for feedback from Jim.
>
> 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=138642&r1=138641&r2=138642&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp (original)
> +++ llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp Fri Aug 26 14:39:26 2011
> @@ -2319,13 +2319,13 @@
> CHECK(S, DecodetGPRRegisterClass(Inst, dst, Address, Decoder));
>
> switch(Inst.getOpcode()) {
> + default:
> + return Fail;
> case ARM::tADR:
> - break;
> + break; // tADR does not explicitly represent the PC as an oeprand.
> case ARM::tADDrSPi:
> Inst.addOperand(MCOperand::CreateReg(ARM::SP));
> break;
> - default:
> - return Fail;
> }
>
> Inst.addOperand(MCOperand::CreateImm(imm));
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list