mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
implements instruction aconst_null
This commit is contained in:
parent
1b09c5fd8c
commit
9958a2bed9
@ -90,7 +90,9 @@ class JavaMethodWasmCodeBuilder extends WasmCodeBuilder {
|
|||||||
OP: switch( op ) {
|
OP: switch( op ) {
|
||||||
case 0: // nop
|
case 0: // nop
|
||||||
break;
|
break;
|
||||||
//TODO case 1: // aconst_null
|
case 1: // aconst_null
|
||||||
|
addStructInstruction( StructOperator.NULL, ValueType.anyref, codePos );
|
||||||
|
break;
|
||||||
case 2: // iconst_m1
|
case 2: // iconst_m1
|
||||||
case 3: // iconst_0
|
case 3: // iconst_0
|
||||||
case 4: // iconst_1
|
case 4: // iconst_1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user