mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
Silence warnings of a mysterious compiler that still defaults to C89.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
da69f3b357
commit
a5f8942e05
@ -1502,8 +1502,8 @@ static int readOperands(struct InternalInstruction* insn) {
|
||||
return -1;
|
||||
case ENCODING_IB:
|
||||
if (sawRegImm) {
|
||||
// Saw a register immediate so don't read again and instead split the
|
||||
// previous immediate. FIXME: This is a hack
|
||||
/* Saw a register immediate so don't read again and instead split the
|
||||
previous immediate. FIXME: This is a hack. */
|
||||
insn->immediates[insn->numImmediatesConsumed] =
|
||||
insn->immediates[insn->numImmediatesConsumed - 1] & 0xf;
|
||||
++insn->numImmediatesConsumed;
|
||||
|
Loading…
Reference in New Issue
Block a user