Lines Matching refs:Stack
28 if (!check) throw msg + new Error().stack;
614 // Note that string arguments will be stored on the stack (the JS string will become a C string on the stack).
634 var stack = 0;
642 if (!stack) stack = Runtime.stackSave();
661 if (stack) Runtime.stackRestore(stack);
836 var MAX_CHUNK = 1024; // split up into chunks, because .apply on a huge string can overflow the stack
1084 var stack = new Error().stack;
1085 return stack ? demangleAll(stack) : '(no stack trace available)'; // Stack trace is not available at least on IE10 and Safari 6.
1099 var STACK_BASE = 0, STACKTOP = 0, STACK_MAX = 0; // stack area
3468 // Some errors may happen quite a bit, to avoid overhead we reuse them (and suffer a lack of stack info)
3471 FS.genericErrors[code].stack = '<generic error, no stack>';
6458 var stack = Runtime.stackSave();
6460 Runtime.stackRestore(stack);
7141 assert(DYNAMIC_BASE < TOTAL_MEMORY, "TOTAL_MEMORY not big enough for stack");
7202 Module.print('int ' + x + ',' + y);// + ' ' + new Error().stack);
7205 Module.print('float ' + x + ',' + y);// + ' ' + new Error().stack);
42599 if (e && typeof e === 'object' && e.stack) Module.printErr('exception thrown: ' + [e, e.stack]);