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

            table.Rows = new RowCollection(number);
            for (int i = 0; i < number; i++)
            {
                table.Rows.Add(new FieldPtrRow());
            }
        }
Beispiel #2
0
        public FieldPtrTable GetFieldPtrTable()
        {
            FieldPtrTable table = m_heap [FieldPtrTable.RId] as FieldPtrTable;

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

            table = new FieldPtrTable();
            InitializeTable(table);
            return(table);
        }
Beispiel #3
0
		public FieldPtrTable GetFieldPtrTable ()
		{
			FieldPtrTable table = m_heap [FieldPtrTable.RId] as FieldPtrTable;
			if (table != null)
				return table;

			table = new FieldPtrTable ();
			InitializeTable (table);
			return table;
		}
 public override void VisitFieldPtrTable(FieldPtrTable table)
 {
     int number = m_rows [FieldPtrTable.RId];
     table.Rows = new RowCollection (number);
     for (int i = 0; i < number; i++)
         table.Rows.Add (new FieldPtrRow ());
 }
Beispiel #5
0
		void EncodeFieldPtrTable (FieldPtrTable table)
		{
			int index = 0;

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

				this.asm.DATA (row.Field);
				++index;
			}

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