diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-10 15:10:06 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-10 15:10:06 +0000 |
commit | 63155f967c6f97ba1c9958a7282ea67517b8abf8 (patch) | |
tree | 6e57b8cce78f3166393cdc81330a6c50bfc8066f /lib/Target/X86/Disassembler/X86DisassemblerDecoder.c | |
parent | 1e8db1a4faac5c9fdd486a6ddcdec1909f12e789 (diff) |
C files in llvm still have to be C89 compliant, remove C++-style comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Disassembler/X86DisassemblerDecoder.c')
-rw-r--r-- | lib/Target/X86/Disassembler/X86DisassemblerDecoder.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c index 6f7e8f2346..fbd81d2d00 100644 --- a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c +++ b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c @@ -313,10 +313,12 @@ static int readPrefixes(struct InternalInstruction* insn) { 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; |