mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Formatting fixes.
Patch by Jack Carter. llvm-svn: 156409
This commit is contained in:
parent
d276cdbd58
commit
39b0b85f7f
@ -326,11 +326,11 @@ void AsmPrinter::EmitInlineAsm(const MachineInstr *MI) const {
|
||||
OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1;
|
||||
}
|
||||
|
||||
// We may have a location metadata attached to the end of the
|
||||
// instruction, and at no point should see metadata at any
|
||||
// other point while processing. It's an error if so.
|
||||
// We may have a location metadata attached to the end of the
|
||||
// instruction, and at no point should see metadata at any
|
||||
// other point while processing. It's an error if so.
|
||||
if (OpNo >= MI->getNumOperands() ||
|
||||
MI->getOperand(OpNo).isMetadata()) {
|
||||
MI->getOperand(OpNo).isMetadata()) {
|
||||
Error = true;
|
||||
} else {
|
||||
unsigned OpFlags = MI->getOperand(OpNo).getImm();
|
||||
|
Loading…
Reference in New Issue
Block a user