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()); } }
public FieldPtrTable GetFieldPtrTable() { FieldPtrTable table = m_heap [FieldPtrTable.RId] as FieldPtrTable; if (table != null) { return(table); } table = new FieldPtrTable(); InitializeTable(table); return(table); }
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 ()); }
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); }