Lines Matching refs:stack
583 // Note that string arguments will be stored on the stack (the JS string will become a C string on the stack).
603 var stack = 0;
611 if (!stack) stack = Runtime.stackSave();
630 if (stack) Runtime.stackRestore(stack);
805 var MAX_CHUNK = 1024; // split up into chunks, because .apply on a huge string can overflow the stack
1053 var stack = new Error().stack;
1054 return stack ? demangleAll(stack) : '(no stack trace available)'; // Stack trace is not available at least on IE10 and Safari 6.
1068 var STACK_BASE = 0, STACKTOP = 0, STACK_MAX = 0; // stack area
1468 if (e && typeof e === 'object' && e.stack) Module.printErr('exception thrown: ' + [e, e.stack]);
3679 // Some errors may happen quite a bit, to avoid overhead we reuse them (and suffer a lack of stack info)
3682 FS.genericErrors[code].stack = '<generic error, no stack>';
5109 var stack = Runtime.stackSave();
5111 Runtime.stackRestore(stack);
5919 assert(DYNAMIC_BASE < TOTAL_MEMORY, "TOTAL_MEMORY not big enough for stack");
6032 Module.print('int ' + x + ',' + y);// + ' ' + new Error().stack);
6035 Module.print('float ' + x + ',' + y);// + ' ' + new Error().stack);
20211 if (e && typeof e === 'object' && e.stack) Module.printErr('exception thrown: ' + [e, e.stack]);