aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index a6fbcf02..72d7f599 100644
--- a/src/library.js
+++ b/src/library.js
@@ -139,7 +139,7 @@ var Library = {
},
llvm_eh_exception: function() {
- return Error();
+ return 'code-generated exception';
},
llvm_eh_selector: function(exception, personality, num) {
@@ -149,6 +149,9 @@ var Library = {
throw exception;
},
+ __gxx_personality_v0: function() {
+ },
+
// iostream
_ZNSt8ios_base4InitC1Ev: function() {