aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode/LLVMBitCodes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-04 18:25:49 +0000
committerChris Lattner <sabre@nondot.org>2007-05-04 18:25:49 +0000
commita727d5502c8e23c090da658bf14c5ebc1169a070 (patch)
tree2dfccabab80d432366535edf8b3cd953de9c1d2e /include/llvm/Bitcode/LLVMBitCodes.h
parent299b2d2070165eccea3fb61f7387fa016b847338 (diff)
minor cleanups. Add provisions for a new standard BLOCKINFO_BLOCK
block type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/LLVMBitCodes.h')
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h
index 40a9a2dfdc..1ce411b0c0 100644
--- a/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/include/llvm/Bitcode/LLVMBitCodes.h
@@ -25,15 +25,15 @@ namespace bitc {
// The only top-level block type defined is for a module.
enum BlockIDs {
// Blocks
- MODULE_BLOCK_ID = 0,
+ MODULE_BLOCK_ID = FIRST_APPLICATION_BLOCKID,
- // Module sub-block id's
- PARAMATTR_BLOCK_ID = 1,
- TYPE_BLOCK_ID = 2,
- CONSTANTS_BLOCK_ID = 3,
- FUNCTION_BLOCK_ID = 4,
- TYPE_SYMTAB_BLOCK_ID = 5,
- VALUE_SYMTAB_BLOCK_ID = 6
+ // Module sub-block id's.
+ PARAMATTR_BLOCK_ID,
+ TYPE_BLOCK_ID,
+ CONSTANTS_BLOCK_ID,
+ FUNCTION_BLOCK_ID,
+ TYPE_SYMTAB_BLOCK_ID,
+ VALUE_SYMTAB_BLOCK_ID
};
@@ -68,7 +68,7 @@ namespace bitc {
/// TYPE blocks have codes for each type primitive they use.
enum TypeCodes {
- TYPE_CODE_NUMENTRY = 1, // TYPE_CODE_NUMENTRY: [numentries]
+ TYPE_CODE_NUMENTRY = 1, // NUMENTRY: [numentries]
// Type Codes
TYPE_CODE_VOID = 2, // VOID