aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.js')
-rw-r--r--src/runtime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime.js b/src/runtime.js
index 39f522a7..76b01089 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -34,7 +34,7 @@ var RuntimeGenerator = {
if (USE_TYPED_ARRAYS === 2) initial = Runtime.forceAlign(initial);
var ret = 'var __stackBase__ = STACKTOP; STACKTOP += ' + initial;
if (ASSERTIONS) {
- ret += '; assert(STACKTOP < STACK_MAX)';
+ ret += '; assert(STACKTOP < STACK_MAX, "Ran out of stack")';
}
if (INIT_STACK) {
ret += '; _memset(__stackBase__, 0, ' + initial + ')';