From b595bb032b8345056cea55f27633c484823ee2e9 Mon Sep 17 00:00:00 2001 From: gahaas Date: Wed, 14 Dec 2016 18:39:49 +0100 Subject: Define the exception type for stack overflows in JS.md --- JS.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'JS.md') diff --git a/JS.md b/JS.md index 4fa5690..4b19a87 100644 --- a/JS.md +++ b/JS.md @@ -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 -- cgit v1.2.3