it does not crash
This commit is contained in:
parent
0c8e076a75
commit
58cff0bba6
|
@ -43,10 +43,11 @@
|
|||
.end method
|
||||
|
||||
.method public static main([Ljava/lang/String;)V
|
||||
.limit locals 1
|
||||
.limit stack 2
|
||||
getstatic java/lang/System/out Ljava/io/PrintStream;
|
||||
ldc "Hello world"
|
||||
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
|
||||
.limit locals 1
|
||||
.limit stack 2
|
||||
getstatic java/lang/System/out Ljava/io/PrintStream;
|
||||
bipush 5 ; set parameter 1
|
||||
invokestatic Factorial/factorial(I)I ; call factorial
|
||||
invokevirtual java/io/PrintStream/println(I)V
|
||||
return
|
||||
.end method
|
||||
|
|
Loading…
Reference in New Issue