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