public override void VisitPropertyPtrTable(PropertyPtrTable table)
        {
            int number = m_rows [PropertyPtrTable.RId];

            table.Rows = new RowCollection(number);
            for (int i = 0; i < number; i++)
            {
                table.Rows.Add(new PropertyPtrRow());
            }
        }
Ejemplo n.º 2
0
        public PropertyPtrTable GetPropertyPtrTable()
        {
            PropertyPtrTable table = m_heap [PropertyPtrTable.RId] as PropertyPtrTable;

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

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

			table = new PropertyPtrTable ();
			InitializeTable (table);
			return table;
		}
Ejemplo n.º 4
0
 public override void VisitPropertyPtrTable(PropertyPtrTable table)
 {
     int number = m_rows [PropertyPtrTable.RId];
     table.Rows = new RowCollection (number);
     for (int i = 0; i < number; i++)
         table.Rows.Add (new PropertyPtrRow ());
 }
Ejemplo n.º 5
0
		void EncodePropertyPtrTable (PropertyPtrTable table)
		{
			int index = 0;

			foreach (PropertyPtrRow row in table.Rows) {
				this.asm.ALIGN (Assembly.OBJECT_ALIGNMENT);
				this.asm.LABEL (moduleName + " PropertyPtrRow#" + index);
				this.asm.AddObjectFields (typeof (SharpOS.AOT.Metadata.PropertyPtrRow).ToString ());

				this.asm.DATA (row.Property);

				++index;
			}

			this.MetadataArray ("PropertyPtr", table);
		}