progs/compile-lexer.scala
changeset 906 2bf1516d730f
parent 704 6d9c960a2b26
equal deleted inserted replaced
905:15973df32613 906:2bf1516d730f
   476 
   476 
   477 val beginning = """
   477 val beginning = """
   478 .class public XXX.XXX
   478 .class public XXX.XXX
   479 .super java/lang/Object
   479 .super java/lang/Object
   480 
   480 
   481 .method public <init>()V
       
   482         aload_0
       
   483         invokenonvirtual java/lang/Object/<init>()V
       
   484         return
       
   485 .end method
       
   486 
       
   487 .method public static write(I)V 
   481 .method public static write(I)V 
   488         .limit locals 5 
   482         .limit locals 5 
   489         .limit stack 5 
   483         .limit stack 5 
   490         iload 0 
   484         iload 0 
   491         getstatic java/lang/System/out Ljava/io/PrintStream; 
   485         getstatic java/lang/System/out Ljava/io/PrintStream;