diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-30 21:06:54 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-30 21:06:54 -0700 |
commit | 5dfe077ac92295cae2396fa06866b366defa8b23 (patch) | |
tree | 05695cf7507adf123926c195b67aa9f1dea38cbe /src/parseTools.js | |
parent | 1e4eddb702888b30cc0f1b1136f2732b2a5a4dbb (diff) |
use proper base type when finalizing vectors
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 238b6bd5..fb3b9652 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -2027,7 +2027,7 @@ function finalizeLLVMParameter(param, noIndexizeFunctions) { } else if (param.intertype == 'mathop') { return processMathop(param); } else if (param.intertype === 'vector') { - return 'float32x4(' + param.idents.join(',') + ')'; + return getVectorBaseType(param.type) + '32x4(' + param.idents.join(',') + ')'; } else { throw 'invalid llvm parameter: ' + param.intertype; } |