(what)
| 403785 | var abortDecorators = []; |
| 403786 | |
| 403787 | function abort(what) { |
| 403788 | if (Module['onAbort']) { |
| 403789 | Module['onAbort'](what); |
| 403790 | } |
| 403791 | |
| 403792 | if (what !== undefined) { |
| 403793 | Module.print(what); |
| 403794 | Module.printErr(what); |
| 403795 | what = JSON.stringify(what) |
| 403796 | } else { |
| 403797 | what = ''; |
| 403798 | } |
| 403799 | |
| 403800 | ABORT = true; |
| 403801 | EXITSTATUS = 1; |
| 403802 | |
| 403803 | var extra = '\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.'; |
| 403804 | |
| 403805 | var output = 'abort(' + what + ') at ' + stackTrace() + extra; |
| 403806 | if (abortDecorators) { |
| 403807 | abortDecorators.forEach(function(decorator) { |
| 403808 | output = decorator(output, what); |
| 403809 | }); |
| 403810 | } |
| 403811 | throw output; |
| 403812 | } |
| 403813 | Module['abort'] = abort; |
| 403814 | |
| 403815 | // {{PRE_RUN_ADDITIONS}} |
no test coverage detected
searching dependent graphs…