public override void VisitEventMapTable(EventMapTable table) { int number = m_rows [EventMapTable.RId]; table.Rows = new RowCollection(number); for (int i = 0; i < number; i++) { table.Rows.Add(new EventMapRow()); } }
public EventMapTable GetEventMapTable() { EventMapTable table = m_heap [EventMapTable.RId] as EventMapTable; if (table != null) { return(table); } table = new EventMapTable(); InitializeTable(table); return(table); }
public EventMapTable GetEventMapTable() { int rid = EventMapTable.RId; if (m_heap.HasTable(rid)) { return(m_heap [rid] as EventMapTable); } EventMapTable table = new EventMapTable(); table.Rows = new RowCollection(); m_heap.Valid |= 1L << rid; m_heap.Tables.Add(table); return(table); }
public EventMapTable GetEventMapTable () { EventMapTable table = m_heap [EventMapTable.RId] as EventMapTable; if (table != null) return table; table = new EventMapTable (); InitializeTable (table); return table; }
public override void VisitEventMapTable(EventMapTable table) { int number = m_rows [EventMapTable.RId]; table.Rows = new RowCollection (number); for (int i = 0; i < number; i++) table.Rows.Add (new EventMapRow ()); }
public EventMapTable GetEventMapTable() { int rid = EventMapTable.RId; if (m_heap.HasTable (rid)) return m_heap [rid] as EventMapTable; EventMapTable table = new EventMapTable (); table.Rows = new RowCollection (); m_heap.Valid |= 1L << rid; m_heap.Tables.Add (table); return table; }
void EncodeEventMapTable (EventMapTable table) { int index = 0; foreach (EventMapRow row in table.Rows) { this.asm.ALIGN (Assembly.OBJECT_ALIGNMENT); this.asm.LABEL (moduleName + " EventMapRow#" + index); this.asm.AddObjectFields (typeof (SharpOS.AOT.Metadata.EventMapRow).ToString ()); this.asm.DATA (row.Parent); this.asm.DATA (row.EventList); ++index; } this.MetadataArray ("EventMap", table); }