mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
revert event section order until v8 in node it support
This commit is contained in:
parent
af50221b44
commit
374ab7121b
@ -125,8 +125,8 @@ public class BinaryModuleWriter extends ModuleWriter implements InstructionOpcod
|
|||||||
writeSection( SectionType.Function, functions.values() );
|
writeSection( SectionType.Function, functions.values() );
|
||||||
writeTableSection();
|
writeTableSection();
|
||||||
writeMemorySection();
|
writeMemorySection();
|
||||||
writeEventSection();
|
|
||||||
writeSection( SectionType.Global, globals.values() );
|
writeSection( SectionType.Global, globals.values() );
|
||||||
|
writeEventSection(); // TODO event section before global section
|
||||||
writeSection( SectionType.Export, exports );
|
writeSection( SectionType.Export, exports );
|
||||||
writeStartSection();
|
writeStartSection();
|
||||||
writeElementSection();
|
writeElementSection();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user