aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/iOperators.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-08 19:03:27 +0000
committerChris Lattner <sabre@nondot.org>2001-07-08 19:03:27 +0000
commit71496b3b50cfcba84eb4acd988ce88a4463e4515 (patch)
treebc0590b1a998d42ac95c3671c79d993030e193e1 /include/llvm/iOperators.h
parent72f1e9929a086346d4f8a8105f30ff1ac78f691b (diff)
downloadexternal_llvm-71496b3b50cfcba84eb4acd988ce88a4463e4515.zip
external_llvm-71496b3b50cfcba84eb4acd988ce88a4463e4515.tar.gz
external_llvm-71496b3b50cfcba84eb4acd988ce88a4463e4515.tar.bz2
Moved Cast from being a Unary instruction to being an "Other" instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/iOperators.h')
-rw-r--r--include/llvm/iOperators.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/iOperators.h b/include/llvm/iOperators.h
index 5d02a40..7cbaecf 100644
--- a/include/llvm/iOperators.h
+++ b/include/llvm/iOperators.h
@@ -15,9 +15,8 @@
//
class GenericUnaryInst : public UnaryOperator {
public:
- GenericUnaryInst(UnaryOps Opcode, Value *S1, const Type *ResultTy = 0,
- const string &Name = "")
- : UnaryOperator(S1, Opcode, ResultTy, Name) {
+ GenericUnaryInst(UnaryOps Opcode, Value *S1, const string &Name = "")
+ : UnaryOperator(S1, Opcode, Name) {
}
virtual const char *getOpcodeName() const;