diff --git a/CodeWriter.java b/CodeWriter.java index c3821e5..3820cbc 100644 --- a/CodeWriter.java +++ b/CodeWriter.java @@ -569,9 +569,6 @@ private void pushToStack() { // Write Assembly code for the return command public void writeReturn() { - // set inFunction to an empty string - inFunction = ""; - try { writeComment("return");