aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/iOperators.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-07 20:17:23 +0000
committerChris Lattner <sabre@nondot.org>2001-07-07 20:17:23 +0000
commit9f3d27654a9c60104c93cacc869709d5d30e5367 (patch)
treec5ab02c551a01ea9c993456aa1229bfb9a06a7f4 /include/llvm/iOperators.h
parenta41f50dea8573e4a610b5aa5e45b5c368559b084 (diff)
downloadexternal_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.h2
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) {
}