Skip to content

Commit 6f1084e

Browse files
thk123tautschnig
thk123
authored andcommitted
Address errors in handcrafted bytecode
The jasmin contained two errors: calling base class constructor with invokevirtual rather than invokespecial the descriptor of the type for the local variable was not a valid descriptor.
1 parent 08276eb commit 6f1084e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Binary file not shown.

jbmc/regression/jbmc/stack_var12/stack_typecast.j

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
.method public <init>()V
88
aload_0
9-
invokevirtual java/lang/Object/<init>()V
9+
invokespecial java/lang/Object/<init>()V
1010
return
1111
.end method
1212

1313
.method public f()I
1414
.limit stack 6
1515
.limit locals 1
16-
.var 0 is this stack_typecast from begin to end
16+
.var 0 is this Lstack_typecast; from begin to end
1717
.line 0
1818
begin:
1919

0 commit comments

Comments
 (0)