Axiom.Compiler.Framework.PrologRegisterTable.FindRegister C# (CSharp) 메소드

FindRegister() 공개 메소드

public FindRegister ( ) : int
리턴 int
        public int FindRegister()
        {
            for(int i = 0; i < _registers.Count; i++)
            {
                if(!InUse(i))
                {
                    AllocateRegister(i);
                    return i;
                }
            }
            return 0;
        }