Remove Function::is_call

The documentation says that this is only used for heuristics, but it
is never actually called. This should be removed for now and perhaps
added back later if we find an actual use for it.
This commit is contained in:
Amanieu d'Antras
2021-09-03 13:30:23 +02:00
parent 7724dc6f5a
commit a243c4e575
4 changed files with 3 additions and 16 deletions

View File

@@ -49,9 +49,8 @@ successors.
Instructions are opaque to the allocator except for a few important
bits: (1) `is_ret` (is a return instruction); (2) `is_branch` (is a
branch instruction); (3) `is_call` (is a call instruction, for
heuristic purposes only), (4) `is_move` (is a move between registers),
and (5) a vector of Operands, covered below. Every block must end in a
branch instruction); (3) `is_move` (is a move between registers), and
(4) a vector of Operands, covered below. Every block must end in a
return or branch.
Both instructions and blocks are named by indices in contiguous index