Exemple #1
0
		private void ExpandSingleForm(InstructionForm f, int argIdx)
		{
			foreach (InstructionArgType tp in f[argIdx].ArgType.ExpandsTo)
			{
				InstructionForm f2 = f.DeepCopy();
				InstructionArg a = f2[argIdx];
				a.ArgType = tp;
				f2[argIdx] = a;
				FinalForms.Add(f2);
			}
		}