private static int GetVariableIndex(VariableReferenceExpression variable) { return variable.Variable.Index; }
private bool HasBeenAlreadyAssignedTo(VariableReferenceExpression variable) { return _variables.ContainsKey(GetVariableIndex(variable)); }
public override void Visit(VariableReferenceExpression node) { CannotOptimize(node); }
public virtual void Visit (VariableReferenceExpression node) { }
public virtual void Visit(VariableReferenceExpression node) { }
public override void Visit (VariableReferenceExpression node) { string name = "local" + node.Variable.Index; Write (name); }