mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
fix event section type
This commit is contained in:
parent
fb3ed8795e
commit
785a0db74c
@ -157,7 +157,7 @@ public class BinaryModuleWriter extends ModuleWriter implements InstructionOpcod
|
||||
stream.writeVaruint32( 0 ); // event type: exception = 0
|
||||
stream.writeVaruint32( exceptionSignatureIndex );
|
||||
|
||||
wasm.writeSection( SectionType.Export, stream );
|
||||
wasm.writeSection( SectionType.Event, stream );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user