summaryrefslogtreecommitdiff
path: root/vaporize/LIRDict.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-27 22:42:35 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-27 22:42:35 -0600
commitbc7af8fdf0e2f6560c7d7fa6c17f893409c4830c (patch)
treed661c0af9f8ccd7a21641f2358d58bb6df21a161 /vaporize/LIRDict.java
parente3054fac8eca3148df169afa2cd85de40cf5ac94 (diff)
Implement variable spilling
Diffstat (limited to 'vaporize/LIRDict.java')
-rw-r--r--vaporize/LIRDict.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/vaporize/LIRDict.java b/vaporize/LIRDict.java
index 50c79b0..30bfed3 100644
--- a/vaporize/LIRDict.java
+++ b/vaporize/LIRDict.java
@@ -84,14 +84,4 @@ public class LIRDict {
return this.spilled_num;
}
- private int subOneLine(int i) {
- int ret = i - 1;
-
- CFGNode n = cfg.getNode(new Integer(ret));
- if (n != null && n.getInstruction() instanceof VCodeLabel)
- --ret;
-
- return ret;
- }
-
}