/// <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); }
/// <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); }