diff options
author | alon@honor <none@none> | 2010-10-21 11:56:05 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-21 11:56:05 -0700 |
commit | 4d9d2829c206c2456155087a3150e17fd4c8130f (patch) | |
tree | fd75ebdd9aa2e890f67e9751ded10499fffdaccb /src/analyzer.js | |
parent | 9cbeceb19e293eff976e813fe3564f0b2507e22b (diff) |
support phi with >2 params
Diffstat (limited to 'src/analyzer.js')
-rw-r--r-- | src/analyzer.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index 0f2e6b95..80860aa6 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -312,8 +312,9 @@ function analyzer(data) { func.labels.forEach(function(label) { label.lines.forEach(function(line) { if (line.value && line.value.intertype == 'phi') { - func.remarkableLabels.push(toNiceIdent(line.value.label1)); - func.remarkableLabels.push(toNiceIdent(line.value.label2)); + for (var i = 0; i < line.value.params.length; i++) { + func.remarkableLabels.push(line.value.params[i].label); + } func.hasPhi = true; } }); |