diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-25 16:26:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-25 17:01:43 -0700 |
commit | 5041ed44a66938588e674b9f7c03b9281b99c4e1 (patch) | |
tree | 56b38137a84c785fceca153dd2379dd8bdcb7fcb /src/parseTools.js | |
parent | ca3f2f004d51268fbf3a9455d2f0c5569b15599d (diff) |
simplify auto-return adding code, and make it generic so it can handle floats as well
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index f8d7e6ac..3489964f 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -1197,7 +1197,7 @@ function asmEnsureFloat(value, type) { // ensures that a float type has either 5 } } -function asmInitializer(type, impl) { +function asmInitializer(type) { if (type in Runtime.FLOAT_TYPES) { if (FROUND && type === 'float') return 'Math_fround(0)'; return RUNNING_JS_OPTS ? '+0' : '.0'; |