mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
enable virtual methods/functions
This commit is contained in:
parent
d3bd4902fd
commit
185e3e98d3
@ -84,7 +84,7 @@ class WasmCallIndirectInstruction extends WasmCallInstruction {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void writeTo( @Nonnull ModuleWriter writer ) throws IOException {
|
public void writeTo( @Nonnull ModuleWriter writer ) throws IOException {
|
||||||
if( virtualFunctionIdx < 0 || true ) {
|
if( virtualFunctionIdx < 0 ) {
|
||||||
super.writeTo( writer );
|
super.writeTo( writer );
|
||||||
} else {
|
} else {
|
||||||
int tempVarIdx = localVariables.get( tempVar, getCodePosition() );
|
int tempVarIdx = localVariables.get( tempVar, getCodePosition() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user