summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Instruction.h8
-rw-r--r--include/llvm/Type.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index da0767d..5a43a22 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -163,28 +163,28 @@ public:
enum TermOps { // These terminate basic blocks
#define FIRST_TERM_INST(N) TermOpsBegin = N,
#define HANDLE_TERM_INST(N, OPC, CLASS) OPC = N,
-#define LAST_TERM_INST(N) TermOpsEnd = N+1,
+#define LAST_TERM_INST(N) TermOpsEnd = N+1
#include "llvm/Instruction.def"
};
enum BinaryOps {
#define FIRST_BINARY_INST(N) BinaryOpsBegin = N,
#define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N,
-#define LAST_BINARY_INST(N) BinaryOpsEnd = N+1,
+#define LAST_BINARY_INST(N) BinaryOpsEnd = N+1
#include "llvm/Instruction.def"
};
enum MemoryOps {
#define FIRST_MEMORY_INST(N) MemoryOpsBegin = N,
#define HANDLE_MEMORY_INST(N, OPC, CLASS) OPC = N,
-#define LAST_MEMORY_INST(N) MemoryOpsEnd = N+1,
+#define LAST_MEMORY_INST(N) MemoryOpsEnd = N+1
#include "llvm/Instruction.def"
};
enum OtherOps {
#define FIRST_OTHER_INST(N) OtherOpsBegin = N,
#define HANDLE_OTHER_INST(N, OPC, CLASS) OPC = N,
-#define LAST_OTHER_INST(N) OtherOpsEnd = N+1,
+#define LAST_OTHER_INST(N) OtherOpsEnd = N+1
#include "llvm/Instruction.def"
};
};
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 82b9905..5ffcec6 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -78,7 +78,7 @@ public:
NumTypeIDs, // Must remain as last defined ID
LastPrimitiveTyID = LabelTyID,
- FirstDerivedTyID = FunctionTyID,
+ FirstDerivedTyID = FunctionTyID
};
private: