aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 7fa4b979..3d91926a 100644
--- a/src/library.js
+++ b/src/library.js
@@ -153,6 +153,13 @@ var Library = {
__gxx_personality_v0: function() {
},
+ llvm_umul_with_overflow_i32: function(x, y) {
+ return {
+ f1: x*y,
+ f2: 0, // We never overflow... for now
+ };
+ },
+
// iostream
_ZNSt8ios_base4InitC1Ev: function() {