summaryrefslogtreecommitdiffstats
path: root/test/012-math
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2012-06-22 13:52:12 -0700
committerbuzbee <buzbee@google.com>2012-06-26 11:27:36 -0700
commit4f1181fe061d3529f72e1237e7662bf9bc73c6e2 (patch)
treeea4044920632370d170a8b1c37ec4729ceb859f4 /test/012-math
parent147440427984816b6ed5235a9b1fb2cbf99496d0 (diff)
downloadart-4f1181fe061d3529f72e1237e7662bf9bc73c6e2.zip
art-4f1181fe061d3529f72e1237e7662bf9bc73c6e2.tar.gz
art-4f1181fe061d3529f72e1237e7662bf9bc73c6e2.tar.bz2
Quick compiler: support for 006, 012, 013, 017
Continued fleshing out of the Quick compiler. With this CL, we're passing run-tests 006, 012, 013 and 017. Note minor changes to the tests to allow for easy identification of methods we want to run through the Quick path. Also, set up by default now to dump bitcode file to /sdcard/Bitcode/ Change-Id: I77ec73a87a21064273567802ddb44c4fdf71f9fd
Diffstat (limited to 'test/012-math')
-rw-r--r--test/012-math/src/Main.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/012-math/src/Main.java b/test/012-math/src/Main.java
index 87ea40b..a4a8c71 100644
--- a/test/012-math/src/Main.java
+++ b/test/012-math/src/Main.java
@@ -18,7 +18,7 @@
* test simple math opers
*/
public class Main {
- public static void main(String args[]) {
+ public static void math_012() {
int pad0, pad1, pad2, pad3, pad4, pad5, pad6, pad7;
int pad8, pad9, pad10, pad11, pad12, pad13, pad14, pad15;
int a, b, res;
@@ -99,4 +99,7 @@ public class Main {
f %= g;
System.out.println("f:" +f);
}
+ public static void main(String args[]) {
+ math_012();
+ }
}