add eqz to getPushValueType and getPopCount. see #18

This commit is contained in:
Volker Berlin 2020-06-14 14:37:34 +02:00
parent 890b3ec0df
commit 999656e3bb

View File

@ -75,6 +75,7 @@ class WasmNumericInstruction extends WasmInstruction {
*/
AnyType getPushValueType() {
switch( numOp ) {
case eqz:
case eq:
case ne:
case gt:
@ -95,6 +96,7 @@ class WasmNumericInstruction extends WasmInstruction {
@Override
int getPopCount() {
switch( numOp ) {
case eqz:
case ifnull:
case ifnonnull:
case neg: