add the original method name as comment to a call_indirect.

This commit is contained in:
Volker Berlin 2020-02-29 15:56:36 +01:00
parent 758f31e79c
commit 7ed9ee576a

View File

@ -684,7 +684,7 @@ public class TextModuleWriter extends ModuleWriter {
if(spiderMonkey)
methodOutput.append( "call_indirect $t" ).append( functions.get( name.signatureName ).typeId ); // https://bugzilla.mozilla.org/show_bug.cgi?id=1556779
else
methodOutput.append( "call_indirect (type $t" ).append( functions.get( name.signatureName ).typeId ).append( ')' );
methodOutput.append( "call_indirect (type $t" ).append( functions.get( name.signatureName ).typeId ).append( ") ;; " + name.signatureName );
}
/**