aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 13c5c648..aa9a8031 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -682,6 +682,9 @@ function analyzer(data) {
});
// Optimizer
+ // XXX: load, store and gep now have pointer/value/data from which we copy the ident into a toplevel ident.
+ // However, we later read the non-toplevel ident in some cases, so optimizer changes can lead to bugs.
+ // Need to remove the toplevel, work entirely with the non-toplevel. Single location.
substrate.addZyme('Optimizer', {
processItem: function(item) {
var that = this;