aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-09 19:20:59 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-09 19:20:59 -0800
commitd7b706c3e2c66960c1e737c79d2dd816996918ae (patch)
tree7f93417d8d6d840e426bfb9b427519ebc4da2288
parent3ab1e6e8b3b72b1006f621ed55f8d708743d9cba (diff)
manually define typeinfo for std::exception
-rw-r--r--src/library.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 4f57c324..d46243a6 100644
--- a/src/library.js
+++ b/src/library.js
@@ -4613,6 +4613,8 @@ LibraryManager.library = {
_ZTIv: [0], // void
_ZTIPv: [0], // void*
+ _ZTISt9exception: [0], // typeinfo for std::exception
+
llvm_uadd_with_overflow_i8: function(x, y) {
x = x & 0xff;
y = y & 0xff;