summaryrefslogtreecommitdiff
path: root/vaporize/library/LIRDict.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-22 23:12:05 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-22 23:12:05 -0600
commitdf648047d1899345dd8b2d82f78b480712d4d8d6 (patch)
treebb001bc35ad42409287bc1c8bb470255d03bde4c /vaporize/library/LIRDict.java
parent110b4f031aea36445250d79c7257a57f15fb7b82 (diff)
Implement register allocation (no spill)
Diffstat (limited to 'vaporize/library/LIRDict.java')
-rw-r--r--vaporize/library/LIRDict.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/vaporize/library/LIRDict.java b/vaporize/library/LIRDict.java
index 0725a76..2095254 100644
--- a/vaporize/library/LIRDict.java
+++ b/vaporize/library/LIRDict.java
@@ -66,8 +66,13 @@ public class LIRDict {
}
public SortedSet<LIRVar> getIntervals() {
+ // TODO Make this class iterable instead
return Collections.unmodifiableSortedSet(this.intervals);
}
+ public String getFunction() {
+ return this.cfg.getFunction();
+ }
+
}