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