add a new code
[oota-llvm.git] / include / llvm / Bitcode / LLVMBitCodes.h
index 214db431d75f12becf47d5ec7fb722ff6a1a0907..4048e39a052ba7c4e23b35006b76b74f98f7fc7b 100644 (file)
@@ -87,7 +87,8 @@ namespace bitc {
   
   // The value symbol table only has one code (VST_ENTRY_CODE).
   enum ValueSymtabCodes {
-    VST_CODE_ENTRY = 1     // VST_ENTRY: [valid, namelen, namechar x N]
+    VST_CODE_ENTRY   = 1,  // VST_ENTRY: [valid, namelen, namechar x N]
+    VST_CODE_BBENTRY = 2   // VST_BBENTRY: [bbid, namelen, namechar x N]
   };
   
   // The constants block (CONSTANTS_BLOCK_ID) describes emission for each
@@ -165,7 +166,7 @@ namespace bitc {
     FUNC_CODE_INST_CMP         =  9, // CMP:        [opty, opval, opval, pred]
     
     FUNC_CODE_INST_RET         = 10, // RET:        [opty,opval<optional>]
-    FUNC_CODE_INST_BR          = 11, // BR:         [opval, bb#, bb#] or [bb#]
+    FUNC_CODE_INST_BR          = 11, // BR:         [bb#, bb#, cond] or [bb#]
     FUNC_CODE_INST_SWITCH      = 12, // SWITCH:     [opty, opval, n, n x ops]
     FUNC_CODE_INST_INVOKE      = 13, // INVOKE:     [fnty, op0,op1,op2, ...]
     FUNC_CODE_INST_UNWIND      = 14, // UNWIND