fix pasto

llvm-svn: 81184
This commit is contained in:
Chris Lattner 2009-09-08 03:39:55 +00:00
parent 5c2126d67e
commit de6a44b790
1 changed files with 1 additions and 1 deletions

View 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());
}