[llvm-commits] [llvm] r152495 - /llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
Benjamin Kramer
benny.kra at googlemail.com
Sat Mar 10 07:10:06 PST 2012
Author: d0k
Date: Sat Mar 10 09:10:06 2012
New Revision: 152495
URL: http://llvm.org/viewvc/llvm-project?rev=152495&view=rev
Log:
C files in llvm still have to be C89 compliant, remove C++-style comments.
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=152495&r1=152494&r2=152495&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c (original)
+++ llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c Sat Mar 10 09:10:06 2012
@@ -313,10 +313,12 @@
if (consumeByte(insn, &byte))
return -1;
- // If the the first byte is a LOCK prefix break and let it be disassembled
- // as a lock "instruction", by creating an <MCInst #xxxx LOCK_PREFIX>.
- // FIXME there is currently no way to get the disassembler to print the
- // lock prefix if it is not the first byte.
+ /*
+ * If the first byte is a LOCK prefix break and let it be disassembled
+ * as a lock "instruction", by creating an <MCInst #xxxx LOCK_PREFIX>.
+ * FIXME there is currently no way to get the disassembler to print the
+ * lock prefix if it is not the first byte.
+ */
if (insn->readerCursor - 1 == insn->startLocation && byte == 0xf0)
break;
More information about the llvm-commits
mailing list