aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-08 03:39:55 +0000
committerChris Lattner <sabre@nondot.org>2009-09-08 03:39:55 +0000
commitc8dee3f7ad60e76bdac597ee47f8d9e3470cc8ff (patch)
tree1a198594f314a1f5d7d091c91e2dcf39884ccf0b
parent971591297861ddeb245f90c48ec7c24726efb9a9 (diff)
fix pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81184 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Instructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index 29395ebca2..e208f37868 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -1321,7 +1321,7 @@ public:
const Value *getIndexOperand() const { return Op<1>(); }
const VectorType *getVectorOperandType() const {
- return reinterpret_cast<const VectorType*>(Instruction::getType());
+ return reinterpret_cast<const VectorType*>(getVectorOperand()->getType());
}