// 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
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