예제 #1
0
파일: Module.cs 프로젝트: Ryujinx/Ryujinx
        public Instruction NewInstruction(Op opcode, uint id = Instruction.InvalidId, Instruction resultType = null)
        {
            var result = _instPool.Allocate();

            result.Set(opcode, id, resultType);

            return(result);
        }
예제 #2
0
 private static LiteralInteger New()
 {
     return(_pool.Allocate());
 }