From: Chris Lattner Date: Tue, 8 Sep 2009 03:39:55 +0000 (+0000) Subject: fix pasto X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c8dee3f7ad60e76bdac597ee47f8d9e3470cc8ff;p=oota-llvm.git fix pasto git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81184 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 29395ebca28..e208f37868a 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(Instruction::getType()); + return reinterpret_cast(getVectorOperand()->getType()); }