public void Setup() { var arch = new IntelArchitecture(ProcessorMode.Protected32); f = arch.CreateFrame(); liveness = new IdentifierLiveness(arch); isLiveHelper = new RegisterLiveness.IsLiveHelper(arch); }
public void Setup() { var arch = new X86ArchitectureFlat32(); f = arch.CreateFrame(); liveness = new IdentifierLiveness(arch); isLiveHelper = new RegisterLiveness.IsLiveHelper(arch); }
public void Setup() { frame = new Frame(PrimitiveType.Word16); vl = new IdentifierLiveness(arch); vl.Identifiers = new HashSet<RegisterStorage>(); }
private string Dump(IdentifierLiveness vl) { StringWriter sw = new StringWriter(); vl.Write(sw, ""); var sl = new SortedList<string, string>(); foreach (Storage o in vl.LiveStorages.Keys) { string s = o.ToString(); sl.Add(s, s); } foreach (string s in sl.Keys) { sw.Write(" "); sw.Write(s); } return sw.ToString(); }
public void Setup() { frame = new Frame(PrimitiveType.Word16); vl = new IdentifierLiveness(arch); vl.Identifiers = new HashSet <RegisterStorage>(); }
public void Setup() { frame = new Frame(PrimitiveType.Word16); vl = new IdentifierLiveness(arch); vl.BitSet = arch.CreateRegisterBitset(); }