Inheritance: InitializeLocalInstruction, IBoxableInstruction
Ejemplo n.º 1
0
        private static Instruction InitReference(int index)
        {
            if (_initReference == null)
            {
                _initReference = new Instruction[LocalInstrCacheSize];
            }

            if (index < _initReference.Length)
            {
                return(_initReference[index] ?? (_initReference[index] = new InitializeLocalInstruction.Reference(index)));
            }

            return(new InitializeLocalInstruction.Reference(index));
        }
Ejemplo n.º 2
0
        private static Instruction InitReference(int index) {
            if (_initReference == null) {
                _initReference = new Instruction[LocalInstrCacheSize];
            }

            if (index < _initReference.Length) {
                return _initReference[index] ?? (_initReference[index] = new InitializeLocalInstruction.Reference(index));
            }

            return new InitializeLocalInstruction.Reference(index);
        }