public override void VisitInterfaceImplTable(InterfaceImplTable table) { int number = m_rows [InterfaceImplTable.RId]; table.Rows = new RowCollection(number); for (int i = 0; i < number; i++) { table.Rows.Add(new InterfaceImplRow()); } }
public InterfaceImplTable GetInterfaceImplTable() { InterfaceImplTable table = m_heap [InterfaceImplTable.RId] as InterfaceImplTable; if (table != null) { return(table); } table = new InterfaceImplTable(); InitializeTable(table); return(table); }
public InterfaceImplTable GetInterfaceImplTable() { int rid = InterfaceImplTable.RId; if (m_heap.HasTable(rid)) { return(m_heap [rid] as InterfaceImplTable); } InterfaceImplTable table = new InterfaceImplTable(); table.Rows = new RowCollection(); m_heap.Valid |= 1L << rid; m_heap.Tables.Add(table); return(table); }
public InterfaceImplTable GetInterfaceImplTable () { InterfaceImplTable table = m_heap [InterfaceImplTable.RId] as InterfaceImplTable; if (table != null) return table; table = new InterfaceImplTable (); InitializeTable (table); return table; }
public override void VisitInterfaceImplTable(InterfaceImplTable table) { int number = m_rows [InterfaceImplTable.RId]; table.Rows = new RowCollection (number); for (int i = 0; i < number; i++) table.Rows.Add (new InterfaceImplRow ()); }
public InterfaceImplTable GetInterfaceImplTable() { int rid = InterfaceImplTable.RId; if (m_heap.HasTable (rid)) return m_heap [rid] as InterfaceImplTable; InterfaceImplTable table = new InterfaceImplTable (); table.Rows = new RowCollection (); m_heap.Valid |= 1L << rid; m_heap.Tables.Add (table); return table; }
void EncodeInterfaceImplTable (InterfaceImplTable table) { int index = 0; foreach (InterfaceImplRow row in table.Rows) { this.asm.ALIGN (Assembly.OBJECT_ALIGNMENT); this.asm.LABEL (moduleName + " InterfaceImplRow#" + index); this.asm.AddObjectFields (typeof (SharpOS.AOT.Metadata.InterfaceImplRow).ToString ()); this.asm.DATA (row.Class); this.asm.DATA (row.Interface.ToUInt ()); ++index; } this.MetadataArray ("InterfaceImpl", table); }