aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-10 18:14:43 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-11 14:54:56 -0800
commit0aa2878b1cd41601e4a3e3231cf7b1745a7cfb32 (patch)
tree8dee5201f77a2640144cd4b4f5ba2a725334b68b
parent0f645b390083136644b99ef3a28c10dd31f3c0bb (diff)
remove unneeded keepAlive stuff
-rw-r--r--src/analyzer.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index ab0e8231..d0229612 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -284,9 +284,7 @@ function analyzer(data, sidePass) {
intertype: 'value',
assignTo: element.ident,
type: 'i' + bits,
- ident: value.assignTo + '[' + j + ']',
- // Add the assignTo as a value so it is not eliminated as unneeded (the ident is not a simple ident here)
- value: { intertype: 'value', ident: value.assignTo, type: value.type }
+ ident: value.assignTo + '[' + j + ']'
};
}));
}
@@ -297,10 +295,6 @@ function analyzer(data, sidePass) {
bits = getBits(item.type);
var elements = getLegalVars(item.value.ident, bits);
item.value.ident = '[' + elements.map(function(element) { return element.ident }).join(',') + ']';
- // Add the ident as a value so it is not eliminated as unneeded (the ident is not a simple ident here)
- item.params = elements.map(function(element) {
- return { intertype: 'value', ident: element.ident, type: 'i' + element.bits };
- });
i++;
continue;
}