aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 97ca880c..b20dedff 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -285,12 +285,10 @@ function analyzer(data, sidePass) {
// 'flatten' out the struct into scalars
var toAdd = param.params;
toAdd.forEach(function(param) {
- assert(param.intertype == 'value' && (param.type in Runtime.FLOAT_TYPES || getNumIntChunks(param.type) == 1), param.type);
param.byval = 0;
});
Array.prototype.splice.apply(params, [i, 1].concat(toAdd));
- i += toAdd.length;
- continue;
+ continue; // do not increment i; proceed to process the new params
}
i++;
}