IKVM.Internal.JsrInliner.Add C# (CSharp) Method

Add() private method

private Add ( ClassFile instr ) : void
instr ClassFile
return void
        private void Add(ClassFile.Method.Instruction instr)
        {
            if (codeLength == codeCopy.Length)
            {
                Array.Resize(ref codeCopy, codeLength * 2);
                Array.Resize(ref flags, codeLength * 2);
            }
            codeCopy[codeLength++] = instr;
        }