diff options
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index e7c53be9..9ad35fab 100644 --- a/src/library.js +++ b/src/library.js @@ -34,6 +34,10 @@ var Library = { }, __cxa_atexit: 'atexit', + abort: function(code) { + throw 'ABORT: ' + code + ', at ' + (new Error().stack); + }, + // string.h strlen: function(p) { |