From 5dfe077ac92295cae2396fa06866b366defa8b23 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 30 Oct 2013 21:06:54 -0700 Subject: use proper base type when finalizing vectors --- src/parseTools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parseTools.js') 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; } -- cgit v1.2.3-18-g5258