summaryrefslogtreecommitdiff
path: root/include/llvm/Instruction.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/Instruction.h
parent72f1e9929a086346d4f8a8105f30ff1ac78f691b (diff)
downloadllvm-71496b3b50cfcba84eb4acd988ce88a4463e4515.tar.gz
llvm-71496b3b50cfcba84eb4acd988ce88a4463e4515.tar.bz2
llvm-71496b3b50cfcba84eb4acd988ce88a4463e4515.tar.xz
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/Instruction.h')
-rw-r--r--include/llvm/Instruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 16adbb2982..cce9662122 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -78,7 +78,6 @@ public:
enum UnaryOps {
FirstUnaryOp = NumTermOps,
Not = NumTermOps, // Binary inverse
- Cast, // Type cast...
NumUnaryOps // Must remain at end of enum
};
@@ -112,6 +111,7 @@ public:
enum OtherOps {
FirstOtherOp = NumMemoryOps,
PHINode = NumMemoryOps, // PHI node instruction
+ Cast, // Type cast...
Call, // Call a function
Shl, Shr, // Shift operations...