[llvm-commits] [llvm] r81184 - /llvm/trunk/include/llvm/Instructions.h
Chris Lattner
sabre at nondot.org
Mon Sep 7 20:39:55 PDT 2009
Author: lattner
Date: Mon Sep 7 22:39:55 2009
New Revision: 81184
URL: http://llvm.org/viewvc/llvm-project?rev=81184&view=rev
Log:
fix pasto
Modified:
llvm/trunk/include/llvm/Instructions.h
Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=81184&r1=81183&r2=81184&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Mon Sep 7 22:39:55 2009
@@ -1321,7 +1321,7 @@
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());
}
More information about the llvm-commits
mailing list