diff --git a/README.md b/README.md index 981ebf7..8794205 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ void gen_mandelbrot(ir_ctx *ctx) ir_IF_TRUE(if_2); ir_RETURN(ir_CONST_I32(0)); ir_IF_FALSE(if_2); - ir_ref loop_end = ir_LOOP_END(loop); + ir_ref loop_end = ir_LOOP_END(); /* close loop */ ir_MERGE_SET_OP(loop, 2, loop_end); diff --git a/tests/debug.aarch64/regset-fibi.irt b/tests/debug.aarch64/regset-fibi.irt index 466b930..13e38a8 100644 --- a/tests/debug.aarch64/regset-fibi.irt +++ b/tests/debug.aarch64/regset-fibi.irt @@ -49,7 +49,7 @@ aarch64 int32_t d_9 = ADD(d_5, d_4); int32_t d_10 = SUB(d_9, d_4); l_11 = CALL/2(l_8, c_7, c_8, d_10); - l_13 = LOOP_END(l_11, l_3); + l_13 = LOOP_END(l_11); l_14 = IF_FALSE(l_7); l_15 = RETURN(l_14, c_4); }