Add new arguments to the generator functions.
@@ -68,8 +68,8 @@ int main (void) {
MIR_load_module (ctx, m1);
MIR_load_external (ctx, "printf", printf);
MIR_link (ctx, MIR_set_interp_interface, NULL);
- MIR_gen_init (ctx);
- MIR_gen (ctx, f1);
+ MIR_gen_init (ctx, 1);
+ MIR_gen (ctx, 0, f1);
MIR_interp (ctx, f2, NULL, 0);
MIR_gen_finish (ctx);
MIR_finish (ctx);
