mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +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() {
|
AnyType getPushValueType() {
|
||||||
switch( op ) {
|
switch( op ) {
|
||||||
case IF:
|
case IF:
|
||||||
return data != ValueType.empty ? (ValueType)data : null;
|
return data != ValueType.empty ? (AnyType)data : null;
|
||||||
case RETURN:
|
case RETURN:
|
||||||
return (ValueType)data;
|
return (AnyType)data;
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user