diff options
| author | gahaas <ahaas@google.com> | 2016-12-14 18:39:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-14 18:39:49 +0100 |
| commit | b595bb032b8345056cea55f27633c484823ee2e9 (patch) | |
| tree | 32d0e6ea3b566d4b1396d228e688777e56c22654 /JS.md | |
| parent | a87e58c34107a44da2e3c86e3e12de669ee3b30d (diff) | |
| download | nanowasm-design-b595bb032b8345056cea55f27633c484823ee2e9.tar.gz | |
Define the exception type for stack overflows in JS.md
Diffstat (limited to 'JS.md')
| -rw-r--r-- | JS.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -23,6 +23,12 @@ Because JavaScript exceptions can be handled, and JavaScript can continue to call WebAssembly exports after a trap has been handled, traps do not, in general, prevent future execution. +## Stack Overflow + +Whenever a [stack overflow](Semantics.md#stack-overflow) is happening in +WebAssembly code, the same exception is thrown as for a stack overflow in +JavaScript. + ## The `WebAssembly` object The `WebAssembly` object is the initial value of the `WebAssembly` property of |
