projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scratch: stack->register mapping experiments. preparation for hoopl tests
[mate.git]
/
tests
/
While.java
diff --git
a/tests/While.java
b/tests/While.java
index 745b37874c8ce7396500c8feb7536295f8ffa370..d34f959f6e495a8e86a62bc8734ec21d635e74c6 100644
(file)
--- a/
tests/While.java
+++ b/
tests/While.java
@@
-1,4
+1,11
@@
+package tests;
+
public class While {
+ public static void main(String []args) {
+ System.out.printf("result: f: 0x%08x\n", f(4, 6));
+ System.out.printf("result: g: 0x%08x\n", g(4, 6));
+ }
+
public static int f(int a, int b) {
do {
a += b;