Dang, I screwed up the merge. This should be better

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-10-13 07:18:40 +00:00
parent 5bc20c7fe3
commit 704037f024

View File

@ -261,12 +261,12 @@ public:
unsigned numOperands, unsigned numOperands,
OpCodeMask _opCodeMask = 0x0); OpCodeMask _opCodeMask = 0x0);
inline ~MachineInstr () {} inline ~MachineInstr () {}
const MachineOpCode getOpCode () const; const MachineOpCode getOpCode () const { return opCode; }
// //
// Information about explicit operands of the instruction // Information about explicit operands of the instruction
// //
unsigned int getNumOperands () const; unsigned int getNumOperands () const { return operands.size(); }
bool operandIsDefined(unsigned int i) const; bool operandIsDefined(unsigned int i) const;