summaryrefslogtreecommitdiffstats
path: root/test/013-math2
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/013-math2
parent147440427984816b6ed5235a9b1fb2cbf99496d0 (diff)
downloadart-4f1181fe061d3529f72e1237e7662bf9bc73c6e2.tar.gz
art-4f1181fe061d3529f72e1237e7662bf9bc73c6e2.tar.bz2
art-4f1181fe061d3529f72e1237e7662bf9bc73c6e2.zip
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/013-math2')
-rw-r--r--test/013-math2/src/Main.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/013-math2/src/Main.java b/test/013-math2/src/Main.java
index 819571dcce..2c80c31ad9 100644
--- a/test/013-math2/src/Main.java
+++ b/test/013-math2/src/Main.java
@@ -18,7 +18,7 @@
* test add by a 16-bit constant
*/
public class Main {
- public static void main(String args[]) {
+ public static void math_013() {
int a, b, res;
a = 3;
@@ -28,4 +28,7 @@ public class Main {
a += 32000;
System.out.println("a:" +a);
}
+ public static void main(String args[]) {
+ math_013();
+ }
}