summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--condense/CondenseVisitor.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/condense/CondenseVisitor.java b/condense/CondenseVisitor.java
index 480a7d5..b6233b2 100644
--- a/condense/CondenseVisitor.java
+++ b/condense/CondenseVisitor.java
@@ -294,7 +294,8 @@ public class CondenseVisitor extends VInstr.Visitor<RuntimeException>{
n.getClass().getSimpleName(),
n.sourcePos.toString()));
///////////////////////////////////////////////////////////////
-
+ this.addMIPS(String.format(" j %s",
+ (((VAddr.Label) n.target).label).ident));
///////////////////////////////////////////////////////////////
MinimalLogger.info(String.format("<-%s (%s)",
n.getClass().getSimpleName(),
@@ -306,7 +307,7 @@ public class CondenseVisitor extends VInstr.Visitor<RuntimeException>{
n.getClass().getSimpleName(),
n.sourcePos.toString()));
///////////////////////////////////////////////////////////////
-
+ this.addMIPS(" jr $ra");
///////////////////////////////////////////////////////////////
MinimalLogger.info(String.format("<-%s (%s)",
n.getClass().getSimpleName(),