lang: codegen: replace codegen_value with a new system for passing different types of values between code generators
This commit is contained in:
@@ -37,14 +37,14 @@ 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)
|
||||
{
|
||||
return IVY_OK;
|
||||
}
|
||||
|
||||
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 for_codegen_state *for_loop = (struct for_codegen_state *)state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user