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

            table.Rows = new RowCollection(number);
            for (int i = 0; i < number; i++)
            {
                table.Rows.Add(new ParamPtrRow());
            }
        }
예제 #2
0
        public ParamPtrTable GetParamPtrTable()
        {
            ParamPtrTable table = m_heap [ParamPtrTable.RId] as ParamPtrTable;

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

            table = new ParamPtrTable();
            InitializeTable(table);
            return(table);
        }
예제 #3
0
		public ParamPtrTable GetParamPtrTable ()
		{
			ParamPtrTable table = m_heap [ParamPtrTable.RId] as ParamPtrTable;
			if (table != null)
				return table;

			table = new ParamPtrTable ();
			InitializeTable (table);
			return table;
		}
예제 #4
0
 public override void VisitParamPtrTable(ParamPtrTable table)
 {
     int number = m_rows [ParamPtrTable.RId];
     table.Rows = new RowCollection (number);
     for (int i = 0; i < number; i++)
         table.Rows.Add (new ParamPtrRow ());
 }
예제 #5
0
파일: Metadata.cs 프로젝트: sharpos/SharpOS
		void EncodeParamPtrTable (ParamPtrTable table)
		{
			int index = 0;

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

				this.asm.DATA (row.Param);

				++index;
			}

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