summaryrefslogtreecommitdiff
path: root/vaporize/library/RegisterAlloc.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-24 21:05:15 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-24 21:05:15 -0600
commit62091005231095abbf8e2cebbfce708815cb63f0 (patch)
tree5186bf7db88b20704a48ab14413349291675ea82 /vaporize/library/RegisterAlloc.java
parent0bbc4cb511bd90cebf94ccfcfce5ff8983ebb918 (diff)
Added VaporizeVisitor, with VAssign, VMemRead, and VMemWrite
Diffstat (limited to 'vaporize/library/RegisterAlloc.java')
-rw-r--r--vaporize/library/RegisterAlloc.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/vaporize/library/RegisterAlloc.java b/vaporize/library/RegisterAlloc.java
index 4032de3..b316b96 100644
--- a/vaporize/library/RegisterAlloc.java
+++ b/vaporize/library/RegisterAlloc.java
@@ -61,6 +61,7 @@ public class RegisterAlloc {
private void spillAtInterval(LIRVar interval) {
MinimalLogger.severe(String.format("Ran out of free registers, but a spill for %s was not performed!",
interval.toString()));
+ this.intervals.addSpilledNum();
// LIRVar spill = this.active.get(this.active.length()-1);
// if (spill.getLastUse() > interval.getLastUse()) {
// ;