progs/compile.scala
changeset 373 b018234c9126
parent 369 43c0ed473720
child 471 9476086849ad
--- a/progs/compile.scala	Tue Nov 17 01:58:50 2015 +0000
+++ b/progs/compile.scala	Tue Nov 17 04:02:08 2015 +0000
@@ -39,11 +39,10 @@
 .end method
 
 .method public static write(I)V 
-    .limit locals 5 
-    .limit stack 5 
-    iload 0 
+    .limit locals 1 
+    .limit stack 2 
     getstatic java/lang/System/out Ljava/io/PrintStream; 
-    swap 
+    iload 0
     invokevirtual java/io/PrintStream/println(I)V 
     return 
 .end method