summaryrefslogtreecommitdiff
path: root/include/llvm/InstrTypes.h
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-06-06 20:28:12 +0000
committerGabor Greif <ggreif@gmail.com>2008-06-06 20:28:12 +0000
commitd4f268bdd47db4db384483db63c3b09f67e9da6a (patch)
tree08290691da20e2f552fd96a605c6922dcd810700 /include/llvm/InstrTypes.h
parent877333b99dd830c3e8bb7eaa1345ea942d29fc06 (diff)
downloadllvm-d4f268bdd47db4db384483db63c3b09f67e9da6a.tar.gz
llvm-d4f268bdd47db4db384483db63c3b09f67e9da6a.tar.bz2
llvm-d4f268bdd47db4db384483db63c3b09f67e9da6a.tar.xz
make ExtractValueInst derived from UnaryInstruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/InstrTypes.h')
-rw-r--r--include/llvm/InstrTypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h
index 386c00118f..0a3fbed804 100644
--- a/include/llvm/InstrTypes.h
+++ b/include/llvm/InstrTypes.h
@@ -118,6 +118,7 @@ public:
I->getOpcode() == Instruction::Load ||
I->getOpcode() == Instruction::VAArg ||
I->getOpcode() == Instruction::GetResult ||
+ I->getOpcode() == Instruction::ExtractValue ||
(I->getOpcode() >= CastOpsBegin && I->getOpcode() < CastOpsEnd);
}
static inline bool classof(const Value *V) {