public override void VisitEventPtrTable(EventPtrTable table) { int number = m_rows [EventPtrTable.RId]; table.Rows = new RowCollection(number); for (int i = 0; i < number; i++) { table.Rows.Add(new EventPtrRow()); } }
public EventPtrTable GetEventPtrTable() { EventPtrTable table = m_heap [EventPtrTable.RId] as EventPtrTable; if (table != null) { return(table); } table = new EventPtrTable(); InitializeTable(table); return(table); }
public EventPtrTable GetEventPtrTable () { EventPtrTable table = m_heap [EventPtrTable.RId] as EventPtrTable; if (table != null) return table; table = new EventPtrTable (); InitializeTable (table); return table; }
public override void VisitEventPtrTable(EventPtrTable table) { int number = m_rows [EventPtrTable.RId]; table.Rows = new RowCollection (number); for (int i = 0; i < number; i++) table.Rows.Add (new EventPtrRow ()); }
void EncodeEventPtrTable (EventPtrTable table) { int index = 0; foreach (EventPtrRow row in table.Rows) { this.asm.ALIGN (Assembly.OBJECT_ALIGNMENT); this.asm.LABEL (moduleName + " EventPtrRow#" + index); this.asm.AddObjectFields (typeof (SharpOS.AOT.Metadata.ClassLayoutRow).ToString ()); this.asm.DATA (row.Event); ++index; } this.MetadataArray ("EventPtr", table); }