enable virtual methods/functions

This commit is contained in:
Volker Berlin 2019-06-09 22:40:39 +02:00
parent d3bd4902fd
commit 185e3e98d3

View File

@ -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() );