diff --git a/examples/0001-basic.c b/examples/0001-basic.c index f36b6ab..4a92297 100644 --- a/examples/0001-basic.c +++ b/examples/0001-basic.c @@ -39,6 +39,7 @@ int main(int argc, char **argv) ir_build_cfg(&ctx); ir_match(&ctx); ir_assign_virtual_registers(&ctx); + ir_compute_dessa_moves(&ctx); size_t size; void *entry = ir_emit_code(&ctx, &size); diff --git a/examples/0001-while.c b/examples/0001-while.c index d1ee21b..5040ea3 100644 --- a/examples/0001-while.c +++ b/examples/0001-while.c @@ -50,6 +50,7 @@ int main(int argc, char **argv) ir_build_cfg(&ctx); ir_match(&ctx); ir_assign_virtual_registers(&ctx); + ir_compute_dessa_moves(&ctx); size_t size; void *entry = ir_emit_code(&ctx, &size); diff --git a/examples/0005-basic-runner-func.c b/examples/0005-basic-runner-func.c index cb6b71e..9847b1f 100644 --- a/examples/0005-basic-runner-func.c +++ b/examples/0005-basic-runner-func.c @@ -55,6 +55,7 @@ int main(int argc, char **argv) ir_build_cfg(&ctx); ir_match(&ctx); ir_assign_virtual_registers(&ctx); + ir_compute_dessa_moves(&ctx); size_t size; void *entry = ir_emit_code(&ctx, &size);