diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-07 20:35:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-07 20:35:45 +0000 |
commit | 82870e0b733fa72c759271c1c62cb5f07be2c4db (patch) | |
tree | 15a9982e24feeda0f2948476e7d2b425b371f3c1 /include/llvm/Instruction.h | |
parent | aeffb4af8b19b1f1fbfa2e289d1718b107d2acce (diff) | |
download | external_llvm-82870e0b733fa72c759271c1c62cb5f07be2c4db.zip external_llvm-82870e0b733fa72c759271c1c62cb5f07be2c4db.tar.gz external_llvm-82870e0b733fa72c759271c1c62cb5f07be2c4db.tar.bz2 |
Fix problems compiling with G++ 4.x.x with -pedantic. Thanks to
Vladimir Merzliakov for the patch!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 8 |
1 files changed, 4 insertions, 4 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" }; }; |