mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
throw consume also a value from the stack
This commit is contained in:
parent
b1f775a33b
commit
6fa864b9fc
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2018 - 2019 Volker Berlin (i-net software)
|
Copyright 2018 - 2020 Volker Berlin (i-net software)
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@ -111,6 +111,8 @@ class WasmBlockInstruction extends WasmInstruction {
|
|||||||
case IF:
|
case IF:
|
||||||
case BR_IF:
|
case BR_IF:
|
||||||
case DROP:
|
case DROP:
|
||||||
|
case THROW:
|
||||||
|
case RETHROW:
|
||||||
return 1;
|
return 1;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user