aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-22 14:01:24 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-22 14:01:42 -0800
commit1a899000422116a9d19f0e4636771f36a8f205ad (patch)
tree4b654a5840da6d68dcc0486080ff58773af3de32 /src/library.js
parent8608181c811e6c48d5c449596c4809e8e38c37ac (diff)
eliminate llvm_prefetch; fixes #2043
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 21d69949..bc577e78 100644
--- a/src/library.js
+++ b/src/library.js
@@ -4291,6 +4291,8 @@ LibraryManager.library = {
abort('trap!');
},
+ llvm_prefetch: function(){},
+
__assert_fail: function(condition, filename, line, func) {
ABORT = true;
throw 'Assertion failed: ' + Pointer_stringify(condition) + ', at: ' + [filename ? Pointer_stringify(filename) : 'unknown filename', line, func ? Pointer_stringify(func) : 'unknown function'] + ' at ' + stackTrace();