lang: codegen: replace codegen_value with a new system for passing different types of values between code generators
This commit is contained in:
@@ -48,7 +48,7 @@ static enum ivy_status state_init(
|
||||
|
||||
static enum ivy_status state_fini(
|
||||
struct ivy_codegen *gen, struct code_generator_state *state,
|
||||
struct mie_value **result)
|
||||
struct code_generator_value *result)
|
||||
{
|
||||
debug_printf("codegen: end of cond group\n");
|
||||
struct cond_group_codegen_state *group
|
||||
@@ -68,7 +68,7 @@ static enum ivy_status state_fini(
|
||||
|
||||
static struct code_generator_result value_received(
|
||||
struct ivy_codegen *gen, struct code_generator_state *state,
|
||||
struct mie_value *value)
|
||||
struct code_generator_value *value)
|
||||
{
|
||||
struct cond_group_codegen_state *cond
|
||||
= (struct cond_group_codegen_state *)state;
|
||||
|
||||
Reference in New Issue
Block a user