summaryrefslogtreecommitdiff
path: root/V2VM.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-19 21:50:26 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-19 21:50:51 -0600
commitb733f594c4ab0697aff9afdcc45e0421107dec85 (patch)
treeeb4f5a2d3330523a7c962726f7576c26dc4fc98e /V2VM.java
parente188aa3f962df621fc49097418959c7d00ce9969 (diff)
Vaporize.CFG Add incomplete edge creation
Diffstat (limited to 'V2VM.java')
-rw-r--r--V2VM.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/V2VM.java b/V2VM.java
index 0f0eab6..84a585a 100644
--- a/V2VM.java
+++ b/V2VM.java
@@ -48,7 +48,13 @@ public class V2VM {
Op.PrintIntS, Op.HeapAllocZ, Op.Error,
};
boolean allowLocals = true;
- String[] registers = null;
+ String[] registers = {
+ "v0", "v1",
+ "a0", "a1", "a2", "a3",
+ "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7",
+ "s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7",
+ "t8",
+ };
boolean allowStack = false;
VaporProgram program;