[llvm] r177910 - X86DisassemblerDecoder.c: Make this C89-compliant.
Dave Zarzycki
zarzycki at apple.com
Mon Mar 25 15:04:44 PDT 2013
Thanks! Sorry about that!
On Mar 25, 2013, at 1:55 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Author: chapuni
> Date: Mon Mar 25 15:55:49 2013
> New Revision: 177910
>
> URL: http://llvm.org/viewvc/llvm-project?rev=177910&view=rev
> Log:
> X86DisassemblerDecoder.c: Make this C89-compliant.
>
> Modified:
> llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
>
> Modified: llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c?rev=177910&r1=177909&r2=177910&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c (original)
> +++ llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c Mon Mar 25 15:55:49 2013
> @@ -323,9 +323,9 @@ static int readPrefixes(struct InternalI
> */
> if (insn->readerCursor - 1 == insn->startLocation
> && (byte == 0xf0 || byte == 0xf2 || byte == 0xf3)) {
> + uint8_t nextByte;
> if (byte == 0xf0)
> break;
> - uint8_t nextByte;
> if (lookAtByte(insn, &nextByte))
> return -1;
> if (insn->mode == MODE_64BIT && (nextByte & 0xf0) == 0x40) {
>
>
> _______________________________________________
> 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