aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-07 14:08:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-08 18:26:44 -0400
commit0e4520e0227f23316175ee9de9edb5c867859e8a (patch)
treeae65e5aab1fa34e5585dea0ebc0b94529d9afbc2 /src/parseTools.js
parentb5f705842e51df9ae25be76feaf1495de8e4252c (diff)
use ident in alloca intertype
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index addf0f21..ca0d15c1 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -2474,13 +2474,6 @@ function walkInterdata(item, pre, post, obj) {
if (walkInterdata(item.params[i], pre, post, obj)) return true;
}
}
- if (item.possibleVars) { // other attributes that might contain interesting data; here, variables
- var box = { intertype: 'value', ident: '' };
- for (i = 0; i <= item.possibleVars.length; i++) {
- box.ident = item[item.possibleVars[i]];
- if (walkInterdata(box, pre, post, obj)) return true;
- }
- }
return post && post(item, originalObj, obj);
}
@@ -2500,7 +2493,6 @@ function walkAndModifyInterdata(item, pre) {
if (repl = walkAndModifyInterdata(item.params[i], pre)) item.params[i] = repl;
}
}
- // Ignore possibleVars because we can't replace them anyhow
}
function parseBlockAddress(segment) {