repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[amd64] Remove the callee saved registers from MonoLMF, save/restore them normally...
[mono-project.git]
/
mono
/
benchmark
/
iconst-byte.cs
blob
05178ad80e823032d326baf77c5fbd99cfd24f50
1
using
System
;
2
3
class
A
{
4
static int
Main
()
5
{
6
// prevent ssa (for now)
7
int
dummy
;
8
Foo
(
out
dummy
);
9
10
for
(
int
i
=
0
;
i
<
50000000
;
i
++) {
11
byte
b
;
12
13
b
=
0
;
14
b
=
0
;
15
b
=
0
;
16
b
=
0
;
17
b
=
0
;
18
b
=
0
;
19
b
=
0
;
20
b
=
0
;
21
b
=
0
;
22
b
=
0
;
23
b
=
0
;
24
b
=
0
;
25
b
=
0
;
26
b
=
0
;
27
b
=
0
;
28
b
=
0
;
29
b
=
0
;
30
b
=
0
;
31
b
=
0
;
32
b
=
0
;
33
b
=
0
;
34
b
=
0
;
35
}
36
37
return
0
;
38
}
39
40
static void
Foo
(
out int
dummy
)
{ dummy = 0; }
41
}