progs/compile_arrays.scala
changeset 906 2bf1516d730f
parent 628 8067d0a8ba04
--- a/progs/compile_arrays.scala	Wed Dec 21 14:33:05 2022 +0000
+++ b/progs/compile_arrays.scala	Tue Apr 04 22:31:09 2023 +0100
@@ -34,17 +34,11 @@
 
 
 // compiler headers needed for the JVM
-// (contains an init method, as well as methods for read and write)
+// (contains methods for read and write)
 val beginning = """
 .class public XXX.XXX
 .super java/lang/Object
 
-.method public <init>()V
-   aload_0
-   invokenonvirtual java/lang/Object/<init>()V
-   return
-.end method
-
 .method public static write(I)V 
     .limit locals 1 
     .limit stack 2