mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 18:44:47 +01:00
Move duplicated code from implementations of writeVirtualFunctionCall() into the caller WasmCallIndirectInstruction
This commit is contained in:
parent
d4a2214131
commit
a458fd2c2a
@ -659,6 +659,7 @@ public class TextModuleWriter extends ModuleWriter {
|
||||
protected void writeVirtualFunctionCall( FunctionName name, AnyType type ) throws IOException {
|
||||
callIndirect = true;
|
||||
|
||||
newline( methodOutput );
|
||||
if(spiderMonkey)
|
||||
methodOutput.append( "call_indirect $t" ).append( functions.get( name.signatureName ).typeId ); // https://bugzilla.mozilla.org/show_bug.cgi?id=1556779
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user