aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86CodeEmitter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-12-01 21:52:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-12-01 21:52:58 +0000
commitba59a1e453e110f7b84233f07613f9c5d9a39b87 (patch)
tree91b99b547060bdc60c14f716fc7ed29ba57c3a01 /lib/Target/X86/X86CodeEmitter.cpp
parent258ff6726d6c079ec6c5b13e340299cbf7300299 (diff)
downloadexternal_llvm-ba59a1e453e110f7b84233f07613f9c5d9a39b87.zip
external_llvm-ba59a1e453e110f7b84233f07613f9c5d9a39b87.tar.gz
external_llvm-ba59a1e453e110f7b84233f07613f9c5d9a39b87.tar.bz2
Match TargetInstrInfo changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86CodeEmitter.cpp')
-rw-r--r--lib/Target/X86/X86CodeEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp
index aa77a25..a1547cf 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);