summaryrefslogtreecommitdiff
path: root/cfg
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-29 17:09:51 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-29 17:09:51 -0600
commitae4c925285a2f5d4d5c584168baafbabd0fe7971 (patch)
tree51cc017006eff54ef461667e2b88d3db5fe5d04c /cfg
parent3dfeff8e8e4c84929e35880bf0bbdea64c085fc0 (diff)
Implement optimal spilling, fix minor issue with gaps in LRA
Diffstat (limited to 'cfg')
-rw-r--r--cfg/ControlFlowGraph.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg/ControlFlowGraph.java b/cfg/ControlFlowGraph.java
index 49cd2fc..85d9fe9 100644
--- a/cfg/ControlFlowGraph.java
+++ b/cfg/ControlFlowGraph.java
@@ -100,6 +100,7 @@ public class ControlFlowGraph {
public void addDefinition(CFGNode n, String s) {
n.defs.add(s);
n.reaching.add(s);
+ n.liveness.add(s);
}
public void addReference(CFGNode n, String s) {