aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-08 20:12:01 -0700
committeralon@honor <none@none>2010-10-08 20:12:01 -0700
commit7ae56ec8ee8e7c1166afaa7c7305fd73996c483f (patch)
tree285196ff1d78bf1d1be5dbe57788c0d3249a589f /src/library.js
parent8e37aa593df856af80c4186633084a2d01fc995a (diff)
initial support for |extractvalue|
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() {