examples: Add missing call to ir_compute_dessa_moves

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski 2023-05-22 21:03:20 +02:00
parent d64a2b5493
commit 548e892219
3 changed files with 3 additions and 0 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);