if (node instanceof AST_Scope) {
push();
segment.block = node;
- if (node instanceof AST_Lambda) {
- if (node.name) {
- if (node !== self) segment.loop = true;
- references[node.name.definition().id] = false;
- }
- references[node.variables.get("arguments").id] = false;
+ if (node instanceof AST_Lambda && node.name) {
+ if (node !== self) segment.loop = true;
+ references[node.name.definition().id] = false;
}
descend();
pop();
}
function mark(sym, read, write) {
+ if (sym.name == "arguments") return;
var def = sym.definition();
if (def.id in references) {
var refs = references[def.id];