diff options
author | Alon Zakai <azakai@mozilla.com> | 2010-11-26 21:37:09 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2010-11-26 21:37:09 -0800 |
commit | e3d1e034c6b8774a0da993b8ba82cd30135fb946 (patch) | |
tree | 7ec364d669da9af39b700181d2468df679497535 /src/preamble.js | |
parent | e053177b97a5bd2046019d573a0ce2619d922ae1 (diff) |
remove clumsy iterative creation attempts of globals
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 6958068f..833e64e4 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -114,7 +114,7 @@ function Pointer_make(slab, pos, allocator) { var i; for (i = 0; i < size; i++) { if (slab[i] === undefined) { - throw 'Invalid element in slab'; // This can be caught, and you can try again to allocate later, see globalFuncs in run() + throw 'Invalid element in slab at ' + new Error().stack; // This can be caught, and you can try again to allocate later, see globalFuncs in run() } } |