diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-07 20:17:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-07 20:17:23 +0000 |
commit | 9f3d27654a9c60104c93cacc869709d5d30e5367 (patch) | |
tree | c5ab02c551a01ea9c993456aa1229bfb9a06a7f4 /include/llvm/iOperators.h | |
parent | a41f50dea8573e4a610b5aa5e45b5c368559b084 (diff) | |
download | external_llvm-9f3d27654a9c60104c93cacc869709d5d30e5367.zip external_llvm-9f3d27654a9c60104c93cacc869709d5d30e5367.tar.gz external_llvm-9f3d27654a9c60104c93cacc869709d5d30e5367.tar.bz2 |
Convert BinaryOperand and UnaryOperator to only take instruction types of
the appropriate enum
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/iOperators.h')
-rw-r--r-- | include/llvm/iOperators.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/iOperators.h b/include/llvm/iOperators.h index 76e4e39..4b6109a 100644 --- a/include/llvm/iOperators.h +++ b/include/llvm/iOperators.h @@ -18,7 +18,7 @@ class GenericBinaryInst : public BinaryOperator { public: - GenericBinaryInst(unsigned Opcode, Value *S1, Value *S2, + GenericBinaryInst(BinaryOps Opcode, Value *S1, Value *S2, const string &Name = "") : BinaryOperator(Opcode, S1, S2, Name) { } |