lang: remove references to old mie api
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#include "codegen.h"
|
||||
|
||||
#include <mie/ir/block.h>
|
||||
#include <mie/ir/func.h>
|
||||
#include <mie/ir/module.h>
|
||||
|
||||
struct match_codegen_state {
|
||||
struct code_generator_state s_base;
|
||||
@@ -30,7 +28,9 @@ static struct code_generator_result gen_block(
|
||||
struct ivy_ast_node *node, size_t depth)
|
||||
{
|
||||
struct match_codegen_state *match = (struct match_codegen_state *)state;
|
||||
#if 0
|
||||
struct mie_func *func = mie_builder_get_current_func(gen->c_builder);
|
||||
#endif
|
||||
|
||||
codegen_push_generator(gen, CODE_GENERATOR_BLOCK, 0, NULL);
|
||||
return CODEGEN_RESULT_OK(0);
|
||||
@@ -66,7 +66,9 @@ static struct code_generator_result value_received(
|
||||
struct code_generator_value *value)
|
||||
{
|
||||
struct match_codegen_state *match = (struct match_codegen_state *)state;
|
||||
#if 0
|
||||
struct mie_func *func = mie_builder_get_current_func(gen->c_builder);
|
||||
#endif
|
||||
|
||||
return CODEGEN_RESULT_OK(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user