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