diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-10-27 07:28:44 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-10-27 07:28:44 +0000 |
commit | 41fe88b26dab59bedc9e45a43752245b9ec3496a (patch) | |
tree | d1fea07e05f1d95349cf44955e69ce76e7460206 | |
parent | 23066288fdf4867f53f208f9aaf2952b1c049394 (diff) |
Fix an obvious copy/pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58231 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Instruction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index 01b69cad2a..e9653ceea5 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -185,9 +185,9 @@ bool Instruction::isIdenticalTo(Instruction *I) const { CI->getAttributes().getRawPointer() == cast<CallInst>(I)->getAttributes().getRawPointer(); if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) - return CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() && + return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && CI->getAttributes().getRawPointer() == - cast<CallInst>(I)->getAttributes().getRawPointer(); + cast<InvokeInst>(I)->getAttributes().getRawPointer(); if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(this)) { if (IVI->getNumIndices() != cast<InsertValueInst>(I)->getNumIndices()) return false; @@ -235,9 +235,9 @@ bool Instruction::isSameOperationAs(Instruction *I) const { CI->getAttributes().getRawPointer() == cast<CallInst>(I)->getAttributes().getRawPointer(); if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) - return CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() && + return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && CI->getAttributes().getRawPointer() == - cast<CallInst>(I)->getAttributes().getRawPointer(); + cast<InvokeInst>(I)->getAttributes().getRawPointer(); if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(this)) { if (IVI->getNumIndices() != cast<InsertValueInst>(I)->getNumIndices()) return false; |