Skip to content

Commit

Permalink
Z: reduce the number of registers used in VMnewEvaluator
Browse files Browse the repository at this point in the history
VMnewEvaluator uses more registers than it needs.
Some registers like zeroReg are initialized but never used.
Some registers line dataSizeReg are redundant.
This commit uses existing registers as much as possible and
removes all the unused or redundant registers.
It also uses scratch register manager in genHeapAlloc for
better register allocation.

Signed-off-by: Ehsan Kiani Far <ehsan.kianifar@gmail.com>
  • Loading branch information
ehsankianifar committed Jul 23, 2024
1 parent b2674c2 commit 0c60909
Showing 1 changed file with 80 additions and 208 deletions.
Loading

0 comments on commit 0c60909

Please sign in to comment.