aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index e58d0e40..a5b7169c 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -962,11 +962,16 @@ function analyzer(data, sidePass) {
}
}
inout('inLabels', 'allInLabels');
- inout('outLabels', 'allOutLabels');
});
}
labels.forEach(function(label) {
+ label.allInLabels.forEach(function(inLabelId) {
+ labelsDict[inLabelId].allOutLabels.push(label.ident);
+ });
+ });
+
+ labels.forEach(function(label) {
if (dcheck('relooping')) {
dprint('// label: ' + label.ident + ' :out : ' + JSON.stringify(label.outLabels));
dprint('// ' + label.ident + ' :in : ' + JSON.stringify(label.inLabels));