projects
/
mate.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
codegen: fix bug in calling conv
[mate.git]
/
tests
/
CallConv2.java
1
package tests;
2
3
public class CallConv2 {
4
public static void main(String []args) {
5
int sum = 0;
6
sum += manyVars(0x125A, 0x11, 0x33, 0x44);
7
id(sum); // 0x1337
8
}
9
10
public static int id(int a) {
11
return a;
12
}
13
14
public static int manyVars(int a, int b, int c, int d) {
15
int x = 0x88;
16
int y = 0x55;
17
18
return ((((a - b) - c) + d) + x + y);
19
}
20
}