Skip to content

Commit

Permalink
#258 Set opt level
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed Jun 9, 2024
1 parent 4c18d95 commit 39bb69d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ravi_mirjit.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ void *mir_get_func(MIR_context_t ctx, MIR_module_t module, const char *func_name
void mir_prepare(MIR_context_t ctx, int optlevel) {
c2mir_init(ctx);
MIR_gen_init(ctx);
MIR_gen_set_optimize_level(ctx, optlevel);
}

void mir_cleanup(MIR_context_t ctx) {
Expand Down

0 comments on commit 39bb69d

Please sign in to comment.