public static void ApplyMapping(SourceCodeLocation stmt, ValueMapping vm) { IsSaving = false; CurrentStatement = stmt; AlternateMapping = vm; counts = new Dictionary<SourceCodeLocation, uint>(); }
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); }
public IVMP(SourceCodeLocation loc, ValueMapping s, ValueMapping f) { _location = loc; _succeedingProfile = s; _failingProfile = f; }