progs/compile.scala
changeset 373 b018234c9126
parent 369 43c0ed473720
child 471 9476086849ad
equal deleted inserted replaced
372:d6af4b1239de 373:b018234c9126
    37    invokenonvirtual java/lang/Object/<init>()V
    37    invokenonvirtual java/lang/Object/<init>()V
    38    return
    38    return
    39 .end method
    39 .end method
    40 
    40 
    41 .method public static write(I)V 
    41 .method public static write(I)V 
    42     .limit locals 5 
    42     .limit locals 1 
    43     .limit stack 5 
    43     .limit stack 2 
    44     iload 0 
       
    45     getstatic java/lang/System/out Ljava/io/PrintStream; 
    44     getstatic java/lang/System/out Ljava/io/PrintStream; 
    46     swap 
    45     iload 0
    47     invokevirtual java/io/PrintStream/println(I)V 
    46     invokevirtual java/io/PrintStream/println(I)V 
    48     return 
    47     return 
    49 .end method
    48 .end method
    50 
    49 
    51 .method public static read()I 
    50 .method public static read()I