From df648047d1899345dd8b2d82f78b480712d4d8d6 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Mon, 22 Apr 2024 23:12:05 -0600 Subject: Implement register allocation (no spill) --- vaporize/library/LIRDict.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vaporize/library/LIRDict.java') 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 getIntervals() { + // TODO Make this class iterable instead return Collections.unmodifiableSortedSet(this.intervals); } + public String getFunction() { + return this.cfg.getFunction(); + } + } -- cgit v1.2.3