public void DoTest(int loops) { var c = new DirectCallNoInlining(); int v = 0; for (int i = 0; i < loops; ++i) { v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); } this.Value = v; }
public void DoTest(int loops) { var c = new DirectCallNoInlining(); int v = 0; for (int i = 0; i < loops; ++i) { v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); v = c.Test(v); } this.Value = v; }