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