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 return\n");
|
||||
struct return_codegen_state *ret = (struct return_codegen_state *)state;
|
||||
@@ -60,7 +60,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)
|
||||
{
|
||||
debug_printf("codegen: return value received\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user