mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
add eqz to getPushValueType and getPopCount. see #18
This commit is contained in:
parent
890b3ec0df
commit
999656e3bb
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user