diff options
Diffstat (limited to 'src/analyzer.js')
-rw-r--r-- | src/analyzer.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index e7f0dfff..eb9ad555 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -333,6 +333,7 @@ function analyzer(data) { var line = lines[i]; var item = line.value; if (!item || item.intertype != 'alloca') continue; + assert(item.allocatedNum === 1); item.allocatedSize = func.variables[line.ident].impl === VAR_EMULATED ? calcAllocatedSize(item.allocatedType, data.types) : 0; total += item.allocatedSize; |