コード例 #1
0
ファイル: ecore.cs プロジェクト: lewurm/benchmarker
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			if (InstanceExpression != null)
				InstanceExpression.MutateHoistedGenericType (storey);

			type = storey.MutateType (type);
			if (getter != null)
				getter = storey.MutateGenericMethod (getter);
			if (setter != null)
				setter = storey.MutateGenericMethod (setter);
		}
コード例 #2
0
ファイル: ecore.cs プロジェクト: lewurm/benchmarker
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			type = storey.MutateType (type);
			if (child_generic_parameter != null)
				child_generic_parameter = storey.MutateGenericArgument (child_generic_parameter);

 			base.MutateHoistedGenericType (storey);
		}
コード例 #3
0
ファイル: ecore.cs プロジェクト: lewurm/benchmarker
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			type = storey.MutateType (type);
		}
コード例 #4
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			if (!TypeManager.IsGenericTypeDefinition (typearg))
				typearg = storey.MutateType (typearg);
		}
コード例 #5
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			if (get != null)
				get = storey.MutateGenericMethod (get);
			if (set != null)
				set = storey.MutateGenericMethod (set);

			instance_expr.MutateHoistedGenericType (storey);
			if (arguments != null)
				arguments.MutateHoistedGenericType (storey);

			type = storey.MutateType (type);
		}
コード例 #6
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			if (method != null) {
				method.MutateHoistedGenericType (storey);
				if (Arguments != null) {
					Arguments.MutateHoistedGenericType (storey);
				}
			}

			type = storey.MutateType (type);
		}
コード例 #7
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			array_element_type = storey.MutateType (array_element_type);
			type = storey.MutateType (type);
			if (arguments != null) {
				foreach (Expression e in arguments)
					e.MutateHoistedGenericType (storey);
			}
			
			if (array_data != null) {
				foreach (Expression e in array_data) {
					// Don't mutate values optimized away
					if (e == null)
						continue;

					e.MutateHoistedGenericType (storey);
				}
			}
		}
コード例 #8
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			expr.MutateHoistedGenericType (storey);
			true_expr.MutateHoistedGenericType (storey);
			false_expr.MutateHoistedGenericType (storey);
			type = storey.MutateType (type);
		}
コード例 #9
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			mg.MutateHoistedGenericType (storey);
			type = storey.MutateType (type);
			if (arguments != null) {
				arguments.MutateHoistedGenericType (storey);
			}
		}
コード例 #10
0
ファイル: statement.cs プロジェクト: lewurm/benchmarker
			public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
			{
				enumerator_type = storey.MutateType (enumerator_type);
				init.MutateHoistedGenericType (storey);
				loop.MutateHoistedGenericType (storey);
			}
コード例 #11
0
ファイル: expression.cs プロジェクト: lewurm/benchmarker
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			array_element_type = storey.MutateType (array_element_type);
			type = storey.MutateType (type);
			if (arguments != null) {
				foreach (Argument a in arguments)
					a.Expr.MutateHoistedGenericType (storey);
			}
			
			if (array_data != null) {
				foreach (Expression e in array_data)
					e.MutateHoistedGenericType (storey);
			}
		}
コード例 #12
0
ファイル: statement.cs プロジェクト: lewurm/benchmarker
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			expr_type = storey.MutateType (expr_type);
			local_copy.MutateHoistedGenericType (storey);
			Statement.MutateHoistedGenericType (storey);
		}
コード例 #13
0
ファイル: statement.cs プロジェクト: lewurm/benchmarker
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			if (type != null)
				type = storey.MutateType (type);
			if (VarBlock != null)
				VarBlock.MutateHoistedGenericType (storey);
			Block.MutateHoistedGenericType (storey);
		}
コード例 #14
0
ファイル: statement.cs プロジェクト: lewurm/benchmarker
		void MutateVariables (AnonymousMethodStorey storey)
		{
			if (variables != null) {
				foreach (LocalInfo vi in variables.Values) {
					vi.VariableType = storey.MutateType (vi.VariableType);
				}
			}

			if (temporary_variables != null) {
				foreach (LocalInfo vi in temporary_variables)
					vi.VariableType = storey.MutateType (vi.VariableType);
			}
		}
コード例 #15
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			method = storey.MutateGenericMethod (method);
			type = storey.MutateType (type);

			if (Arguments != null)
				Arguments.MutateHoistedGenericType (storey);

			InstanceExpr.MutateHoistedGenericType (storey);
		}
コード例 #16
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			source.MutateHoistedGenericType (storey);
			target.MutateHoistedGenericType (storey);
			type = storey.MutateType (type);			
		}