fix event section type

This commit is contained in:
Volker Berlin 2019-03-03 22:06:14 +01:00
parent fb3ed8795e
commit 785a0db74c

View File

@ -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 );
}
}