progs/fun.scala
changeset 380 1e88390e81aa
parent 323 4ce07c4abdb4
child 625 6709fa87410b
--- a/progs/fun.scala	Tue Nov 17 19:12:51 2015 +0000
+++ b/progs/fun.scala	Wed Nov 18 01:53:01 2015 +0000
@@ -354,11 +354,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