--- a/progs/fun.scala Mon Nov 18 11:11:11 2019 +0000
+++ b/progs/fun.scala Wed Nov 20 17:10:03 2019 +0000
@@ -47,12 +47,6 @@
.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
@@ -202,7 +196,7 @@
def compile_and_run(class_name: String) : Unit = {
compile_to_file(class_name)
(s"java -jar jvm/jasmin-2.4/jasmin.jar ${class_name}.j").!!
- println("Time: " + time_needed(2, (s"java ${class_name}/${class_name}").!))
+ println("Time: " + time_needed(1, (s"java ${class_name}/${class_name}").!))
}