aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-22 11:17:00 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-29 13:02:00 -0700
commit5eb7cf382f79086d9d6d62ee97e65cc7adc50a2b (patch)
tree9ad1d26b3d5bd7ad6fabaf3f83a0cac3c4213faa /src/library.js
parent174fc66d0ade7f5922341d339f9c8f7262fd35a4 (diff)
fully align varargs and formatString arguments all to 64-bit
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index f9ff18ec..ae997a71 100644
--- a/src/library.js
+++ b/src/library.js
@@ -2679,7 +2679,7 @@ LibraryManager.library = {
type = 'i32'; // varargs are always i32, i64, or double
ret = {{{ makeGetValue('varargs', 'argIndex', 'i32', undefined, undefined, true) }}};
}
- argIndex += Runtime.getAlignSize(type);
+ argIndex += {{{ STACK_ALIGN }}};
return ret;
}