aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-21 12:31:15 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-09-23 14:33:24 -0700
commitcef3678a9053fe7d2dfd4fcdebc50391de0bf51c (patch)
tree25c3475dbe625b68f142f943f4874b634a9bdb29
parent4afa4bb91b53567561364df68d8b73d6333c1292 (diff)
initialize currLabelFinished
-rw-r--r--src/analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 3f7a5649..750f2a4c 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -49,7 +49,7 @@ function analyzer(data, sidePass) {
// Functions & labels
item.functions = [];
- var currLabelFinished; // Sometimes LLVM puts a branch in the middle of a label. We need to ignore all lines after that.
+ var currLabelFinished = false; // Sometimes LLVM puts a branch in the middle of a label. We need to ignore all lines after that.
item.items.sort(function(a, b) { return a.lineNum - b.lineNum });
for (var i = 0; i < item.items.length; i++) {
var subItem = item.items[i];