mie: implement ir generation for message sending
This commit is contained in:
@@ -10,6 +10,7 @@ extern const struct mie_value_type arg_value_type;
|
||||
extern const struct mie_value_type block_value_type;
|
||||
extern const struct mie_value_type instr_value_type;
|
||||
extern const struct mie_value_type const_value_type;
|
||||
extern const struct mie_value_type data_value_type;
|
||||
|
||||
static const struct mie_value_type *value_types[] = {
|
||||
[MIE_VALUE_NONE] = NULL,
|
||||
@@ -21,6 +22,7 @@ static const struct mie_value_type *value_types[] = {
|
||||
[MIE_VALUE_BLOCK] = &block_value_type,
|
||||
[MIE_VALUE_INSTR] = &instr_value_type,
|
||||
[MIE_VALUE_CONST] = &const_value_type,
|
||||
[MIE_VALUE_DATA] = &data_value_type,
|
||||
};
|
||||
static const size_t nr_value_types = sizeof value_types / sizeof value_types[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user