typo
[oota-llvm.git] / include / llvm / CodeGen / MachineInstr.h
index ca38fe68f717063dd5eb396c0422aace8d350323..25a7b3fedb6ca6b2f3d91a082dd890443e6ef104 100644 (file)
@@ -291,7 +291,7 @@ public:
   /// opcode and same operands as) the specified instruction.
   bool isIdenticalTo(const MachineInstr *Other) const {
     if (Other->getOpcode() != getOpcode() ||
-        getNumOperands() != getNumOperands())
+        Other->getNumOperands() != getNumOperands())
       return false;
     for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
       if (!getOperand(i).isIdenticalTo(Other->getOperand(i)))