private void CacheBoxToLocal(LambdaCompiler lc, ParameterExpression v) { LocalBoxStorage storage = new LocalBoxStorage(lc, v); storage.EmitStoreBox(); this._locals.Add(v, storage); }
private void CacheBoxToLocal(LambdaCompiler lc, ParameterExpression v) { Debug.Assert(ShouldCache(v) && !_locals.ContainsKey(v)); var local = new LocalBoxStorage(lc, v); local.EmitStoreBox(); _locals.Add(v, local); }