Example #1
0
        /// <summary>
        /// Release a local slot by its identity.
        /// Slot is not associated with identity after this.
        /// </summary>
        internal void FreeLocal(object identity)
        {
            var slot = GetLocal(identity);

            LocalMap.Remove(identity);
            FreeSlot(slot);
        }
        /// <summary>
        /// Release a local slot by its symbol.
        /// Slot is not associated with symbol after this.
        /// </summary>
        internal void FreeLocal(ILocalSymbolInternal symbol)
        {
            var slot = GetLocal(symbol);

            LocalMap.Remove(symbol);
            FreeSlot(slot);
        }
Example #3
0
        /// <summary>
        /// Release a local slot by its symbol.
        /// Slot is not associated with symbol after this.
        /// </summary>
        internal void FreeLocal(ILocalSymbol symbol)
        {
            LocalDefinition slot = GetLocal(symbol);

            LocalMap.Remove(symbol);
            FreeSlot(slot);
        }