diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-21 08:36:33 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-29 13:01:58 -0700 |
commit | 17248eb417685f37a94bc8857d3d6e513364cc9d (patch) | |
tree | 9413876b64f25ecd7c3eec2a4362e7411b24de66 /src/runtime.js | |
parent | 0fedeaa62d955ce57e6751a57e263122420671c1 (diff) |
add target settings
Diffstat (limited to 'src/runtime.js')
-rw-r--r-- | src/runtime.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime.js b/src/runtime.js index ec39636f..b184b275 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -178,7 +178,9 @@ var Runtime = { // type can be a native type or a struct (or null, for structs we only look at size here) getAlignSize: function(type, size) { // we align i64s and doubles on 64-bit boundaries, unlike x86 +#if TARGET_LE32 if (type == 'i64' || type == 'double') return 8; +#endif return Math.min(size, Runtime.QUANTUM_SIZE); }, |