aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-31 12:37:55 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-31 12:37:55 -0800
commite5e62a1929bd6ea497c5770faeda712299988cd1 (patch)
tree04ac6a34c430cb31ed2333460eb3fce5450d26c8
parentd8e2ae876aa264b35bb9996494ce1b8cb5a284a3 (diff)
fix llvm_ctlz_i64
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index cfe4d4a0..eb7c4beb 100644
--- a/src/library.js
+++ b/src/library.js
@@ -4854,7 +4854,7 @@ LibraryManager.library = {
var ret = _llvm_ctlz_i32(h);
if (ret == 32) ret += _llvm_ctlz_i32(l);
#if USE_TYPED_ARRAYS == 2
- return [ret, 0];
+ {{{ makeStructuralReturn(['ret', '0']) }}};
#else
return ret;
#endif