mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
cast only to AnyType
This commit is contained in:
parent
5a08ecf122
commit
fd24d852ee
@ -94,9 +94,9 @@ class WasmBlockInstruction extends WasmInstruction {
|
||||
AnyType getPushValueType() {
|
||||
switch( op ) {
|
||||
case IF:
|
||||
return data != ValueType.empty ? (ValueType)data : null;
|
||||
return data != ValueType.empty ? (AnyType)data : null;
|
||||
case RETURN:
|
||||
return (ValueType)data;
|
||||
return (AnyType)data;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user