summaryrefslogtreecommitdiffstats
path: root/test/MyClassNatives
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2011-09-01 00:38:04 -0700
committerShih-wei Liao <sliao@google.com>2011-09-01 13:35:28 -0700
commit82da44b625a1af03c0b768c71f1cef29831127c3 (patch)
tree0d53f3e1ff4fa66c374984dd9515c1c0e9af8d67 /test/MyClassNatives
parentbf86d0438e9ef9c145ebcf16a2e74c4efaa2686a (diff)
downloadart-82da44b625a1af03c0b768c71f1cef29831127c3.tar.gz
art-82da44b625a1af03c0b768c71f1cef29831127c3.tar.bz2
art-82da44b625a1af03c0b768c71f1cef29831127c3.zip
Fix the "mov R1, R2; mov R2, R3" bug in jni_compiler.
Should be "mov R2, R3; mov R1, R2" instead. Change-Id: Ie5264c3fe38486781e09f54e1e6d1fdcf7a2d4e5
Diffstat (limited to 'test/MyClassNatives')
-rw-r--r--test/MyClassNatives/MyClassNatives.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java
index f462363b90..0716bfa63a 100644
--- a/test/MyClassNatives/MyClassNatives.java
+++ b/test/MyClassNatives/MyClassNatives.java
@@ -8,5 +8,6 @@ class MyClass {
native double fooDD(double x, double y);
native Object fooIOO(int x, Object y, Object z);
static native Object fooSIOO(int x, Object y, Object z);
+ static native int fooSII(int x, int y);
static synchronized native Object fooSSIOO(int x, Object y, Object z);
}