fix pasto
authorChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 03:39:55 +0000 (03:39 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 03:39:55 +0000 (03:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81184 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instructions.h

index 29395ebca28af97419d9809882260e4a8c82228b..e208f37868aba709d7dbead612ab213abe438cde 100644 (file)
@@ -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());
   }