mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Also the throw instruction need the event handling
This commit is contained in:
parent
ee4409311f
commit
0201157ffb
@ -514,6 +514,8 @@ public class ModuleGenerator {
|
|||||||
switch( ((WasmBlockInstruction)instruction).getOperation() ) {
|
switch( ((WasmBlockInstruction)instruction).getOperation() ) {
|
||||||
case TRY:
|
case TRY:
|
||||||
case CATCH:
|
case CATCH:
|
||||||
|
case THROW:
|
||||||
|
case RETHROW:
|
||||||
writer.writeException();
|
writer.writeException();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user