[amd64] Remove the callee saved registers from MonoLMF, save/restore them normally...
[mono-project.git] / mono / benchmark / inline5.cs
blob4e8e45b9bed0e26cd047ce01ffc5dcdbbfceea27
1 using System;
3 public class Test {
5 static int a = 0;
7 public static void test (int n) {
8 a+=n;
11 public static int Main (string[] args) {
12 int repeat = 1;
14 if (args.Length == 1)
15 repeat = Convert.ToInt32 (args [0]);
17 Console.WriteLine ("Repeat = " + repeat);
19 for (int i = 0; i < repeat; i++)
20 for (int j = 0; j < 500000000; j++)
21 test (a);
23 return 0;