示例#1
0
 public HexagonRewriter(HexagonArchitecture arch, EndianImageReader rdr, ProcessorState state, IStorageBinder binder, IRewriterHost host)
 {
     this.arch              = arch;
     this.rdr               = rdr;
     this.state             = state;
     this.binder            = binder;
     this.host              = host;
     this.dasm              = new HexagonDisassembler(arch, rdr).GetEnumerator();
     this.instrs            = new List <RtlInstruction>();
     this.m                 = new RtlEmitter(instrs);
     this.registersRead     = new HashSet <RegisterStorage>();
     this.deferredWrites    = new List <RtlAssignment>();
     this.deferredTransfers = new List <RtlTransfer>();
 }
示例#2
0
 public HexagonState(HexagonArchitecture arch)
 {
     this.arch = arch;
 }