aboutsummaryrefslogtreecommitdiff
path: root/src/modules.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.js')
-rw-r--r--src/modules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.js b/src/modules.js
index 3e7405f8..e2d3433f 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -284,8 +284,8 @@ var Functions = {
var chunks = getNumIntChunks(type);
if (chunks > 0) {
for (var j = 0; j < chunks; j++) sig += 'i';
- } else {
- // some special type like a SIMD vector
+ } else if (type !== '...') {
+ // some special type like a SIMD vector (anything but varargs, which we handle below)
sig += Functions.getSignatureLetter(type);
}
}