diff options
Diffstat (limited to 'lib/Target/X86/X86CodeEmitter.cpp')
-rw-r--r-- | lib/Target/X86/X86CodeEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index aa77a25e1b..a1547cf47a 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/lib/Target/X86/X86CodeEmitter.cpp @@ -471,7 +471,7 @@ unsigned Emitter::determineREX(const MachineInstr &MI) { unsigned NumOps = II->getNumOperands(Opcode); if (NumOps) { bool isTwoAddr = NumOps > 1 && - II->getOperandConstraint(Opcode, 1, TargetInstrInfo::TIED_TO) != -1; + II->getOperandConstraint(Opcode, 1, TOI::TIED_TO) != -1; // If it accesses SPL, BPL, SIL, or DIL, then it requires a 0x40 REX prefix. bool isTrunc8 = isX86_64TruncToByte(Opcode); @@ -610,7 +610,7 @@ void Emitter::emitInstruction(const MachineInstr &MI) { unsigned NumOps = II->getNumOperands(Opcode); unsigned CurOp = 0; if (NumOps > 1 && - II->getOperandConstraint(Opcode, 1, TargetInstrInfo::TIED_TO) != -1) + II->getOperandConstraint(Opcode, 1, TOI::TIED_TO) != -1) CurOp++; unsigned char BaseOpcode = II->getBaseOpcodeFor(Opcode); |