Org.Mozilla.Classfile.ClassFileWriter.AddSuperBlockStart C# (CSharp) Method

AddSuperBlockStart() private method

Add a pc as the start of super block.
Add a pc as the start of super block. A pc is the beginning of a super block if: - pc == 0 - it is the target of a branch instruction - it is the beginning of an exception handler - it is directly after an unconditional jump
private AddSuperBlockStart ( int pc ) : void
pc int
return void
		private void AddSuperBlockStart(int pc)
		{
			if (GenerateStackMap)
			{
				if (itsSuperBlockStarts == null)
				{
					itsSuperBlockStarts = new int[SuperBlockStartsSize];
				}
				else
				{
					if (itsSuperBlockStarts.Length == itsSuperBlockStartsTop)
					{
						int[] tmp = new int[itsSuperBlockStartsTop * 2];
						System.Array.Copy(itsSuperBlockStarts, 0, tmp, 0, itsSuperBlockStartsTop);
						itsSuperBlockStarts = tmp;
					}
				}
				itsSuperBlockStarts[itsSuperBlockStartsTop++] = pc;
			}
		}