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());
            }
        }
Exemplo n.º 2
0
        public EventPtrTable GetEventPtrTable()
        {
            EventPtrTable table = m_heap [EventPtrTable.RId] as EventPtrTable;

            if (table != null)
            {
                return(table);
            }

            table = new EventPtrTable();
            InitializeTable(table);
            return(table);
        }
Exemplo n.º 3
0
		public EventPtrTable GetEventPtrTable ()
		{
			EventPtrTable table = m_heap [EventPtrTable.RId] as EventPtrTable;
			if (table != null)
				return table;

			table = new EventPtrTable ();
			InitializeTable (table);
			return table;
		}
Exemplo n.º 4
0
 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 ());
 }
Exemplo n.º 5
0
		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);
		}