typo
authorChris Lattner <sabre@nondot.org>
Fri, 20 Oct 2006 22:44:45 +0000 (22:44 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Oct 2006 22:44:45 +0000 (22:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31089 91177308-0d34-0410-b5e6-96231b3b80d8

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)))