diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-07 03:13:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 03:13:06 +0000 |
commit | b0d06b438175f22a2c680fb07e0b02a0798876e1 (patch) | |
tree | 4ba87d89d2bbfd3f142fdf00f5fd53b0a2a957ae /llvm/lib/Target/TargetInstrInfo.cpp | |
parent | f0f438a51740a13c10e3aebdeffaaade53f72ba7 (diff) | |
download | bcm5719-llvm-b0d06b438175f22a2c680fb07e0b02a0798876e1.tar.gz bcm5719-llvm-b0d06b438175f22a2c680fb07e0b02a0798876e1.zip |
Move a bunch more accessors from TargetInstrInfo to TargetInstrDescriptor
llvm-svn: 45680
Diffstat (limited to 'llvm/lib/Target/TargetInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/TargetInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetInstrInfo.cpp b/llvm/lib/Target/TargetInstrInfo.cpp index ba56caa68e8..5342dd18727 100644 --- a/llvm/lib/Target/TargetInstrInfo.cpp +++ b/llvm/lib/Target/TargetInstrInfo.cpp @@ -19,7 +19,7 @@ using namespace llvm; /// findTiedToSrcOperand - Returns the operand that is tied to the specified /// dest operand. Returns -1 if there isn't one. int TargetInstrDescriptor::findTiedToSrcOperand(unsigned OpNum) const { - for (unsigned i = 0, e = numOperands; i != e; ++i) { + for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { if (i == OpNum) continue; if (getOperandConstraint(i, TOI::TIED_TO) == (int)OpNum) |