コード例 #1
0
		public static void ApplyMapping(SourceCodeLocation stmt, ValueMapping vm)
		{
			IsSaving = false;
			CurrentStatement = stmt;
			AlternateMapping = vm;
			counts = new Dictionary<SourceCodeLocation, uint>();
		}
コード例 #2
0
		public void AddValue(String TestName, int var, Value val)
		{
			ValueMapping mapping;
			if(!mappings.TryGetValue(TestName, out mapping))
			{
				mapping = new ValueMapping();
				mappings[TestName] = mapping;
			}
			mapping.AddValue(var, val);
		}
コード例 #3
0
		public IVMP(SourceCodeLocation loc, ValueMapping s, ValueMapping f)
		{
			_location = loc;
			_succeedingProfile = s;
			_failingProfile = f;
		}