diff options
Diffstat (limited to 'src/analyzer.js')
-rw-r--r-- | src/analyzer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index fff9cd48..54acbc54 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -315,7 +315,7 @@ function analyzer(data) { for (var i = 0; i < lines.length; i++) { var line = lines[i]; var item = line.value; - if (!item || item.intertype != 'alloca') break; + if (!item || item.intertype != 'alloca') continue; item.allocatedSize = func.variables[line.ident].impl === VAR_EMULATED ? calcAllocatedSize(item.allocatedType, data.types) : 0; total += item.allocatedSize; @@ -324,7 +324,7 @@ function analyzer(data) { var index = 0; for (var i = 0; i < lines.length; i++) { var item = lines[i].value; - if (!item || item.intertype != 'alloca') break; + if (!item || item.intertype != 'alloca') continue; item.allocatedIndex = index; index += item.allocatedSize; delete item.allocatedSize; |