Bump ikvm to f66ae58 to recognize PCL Facade Assemblies.
[mono-project.git] / mono / benchmark / initlocals.cs
blobdc7b3737dc24afc60d259dfe1b7d9a8f896183d3
1 // Foo() benefits from definite assignment analysis
3 using System;
5 class Test {
6 static void Foo () {
7 int a, b, c, d, e, f, g;
8 int h, i, j, k, l, m, n;
10 for (int x = 0; x < 2; ++x) {
11 a = 0;
12 b = a;
13 c = a;
14 d = b;
15 e = c;
16 f = 1;
17 g = 2;
18 h = a + b;
19 i = h + h;
20 j = 1 + b + c;
21 k = i + j;
22 l = f + g;
23 m = k + l;
24 n = l + l;
29 static void Main () {
30 for (int i = 0; i < 100000000; ++ i)
31 Foo ();