summaryrefslogtreecommitdiffstats
path: root/test/407-arrays
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-09-02 15:17:15 +0100
committerNicolas Geoffray <ngeoffray@google.com>2014-09-08 12:15:07 +0100
commit3946844c34ad965515f677084b07d663d70ad1b8 (patch)
tree0d85bfba2ff69c34a2897351d1e50a1464509305 /test/407-arrays
parente2c23739c6395a83b30ece38f8a2e9e1bf7cf3ce (diff)
downloadart-3946844c34ad965515f677084b07d663d70ad1b8.tar.gz
art-3946844c34ad965515f677084b07d663d70ad1b8.tar.bz2
art-3946844c34ad965515f677084b07d663d70ad1b8.zip
Runtime support for the new stack maps for the opt compiler.
Now most of the methods supported by the compiler can be optimized, instead of using the baseline. Change-Id: I80ab36a34913fa4e7dd576c7bf55af63594dc1fa
Diffstat (limited to 'test/407-arrays')
-rw-r--r--test/407-arrays/src/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/407-arrays/src/Main.java b/test/407-arrays/src/Main.java
index 5d27e6dbde..b5e95b019f 100644
--- a/test/407-arrays/src/Main.java
+++ b/test/407-arrays/src/Main.java
@@ -57,7 +57,7 @@ public class Main extends TestCase {
int[] ints, Object[] objects, long[] longs, int index) {
bools[0] = true;
assertEquals(true, bools[0]);
- bools[1] = true;
+ bools[index] = true;
assertEquals(true, bools[index]);
bytes[0] = -4;