mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 18:44:47 +01:00
print (table) in a new line
This commit is contained in:
parent
f0d3027553
commit
45d1731126
@ -103,6 +103,7 @@ public class TextModuleWriter extends ModuleWriter {
|
||||
if( callIndirect ) {
|
||||
int count = importCount + functionCount;
|
||||
String countStr = Integer.toString( count );
|
||||
newline( output );
|
||||
output.append( "(table " ).append( countStr ).append( ' ' ).append( countStr ).append( " anyfunc)" );
|
||||
newline( output );
|
||||
output.append( "(elem (i32.const 0) " );
|
||||
|
Loading…
x
Reference in New Issue
Block a user