mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
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
This commit is contained in:
parent
1e8db1a4fa
commit
63155f967c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user