| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Also fix the run script of 116-nodex2oat to use the non-prebuild
script for target.
Bug: 17000769
Change-Id: I439fcd710fb8bb408f3288ff8fb34fef23890adb
|
|
|
|
|
|
|
|
|
|
|
|
| |
The quick-trampoline treats caller's frame in a different way
then it was formed by quck-invoke stub for hard float ABI targets
such as x86_64 and aarch64. The patch workarounds the issue of
wrongly-read stack arguments due to no contract between quick-invoke
stub and quick-trampoline/shadow-frame-builder regarding the reg-
spill area.
Change-Id: I302f212b4ea5e38632527a5ace03f136b21ef806
Signed-off-by: Vladimir Kostyukov <vladimir.kostyukov@intel.com>
|
|
|
|
|
|
|
|
|
| |
Code did not properly call JNIMethodEnd, such that locks etc
where not correctly handled.
Add a test case to jni_compiler_test.
Change-Id: If2d5c628517d65a56dd6bb5c4cabdff77c7664a1
|
|
|
|
|
|
|
| |
Add checks for alignment, floats, and maximum number of parameters
Fixed x86_64 ABI wrong interpretation (floats not widened in registers)
Change-Id: I6c09af4914b7675ac0275ce21003e317ca44a403
|
|
|
|
| |
Change-Id: Ia247de328d234c4a57ddd93f394cad2c63e48153
|
|
|
|
|
|
| |
low registers.
Change-Id: I3639f7a7a9564630ae01651119fcad237a5e675d
|
|
|
|
|
|
|
| |
Also clean up the CheckJNI testing a bit. I still need to do some work so that
JniAbort catches more of the detail, but this is a step forward.
Change-Id: Ibf5e32867d56123cff902ebf602406b731f567d2
|
|
|
|
|
|
| |
Fixes bug found in Google Earth.
Change-Id: I54beb05a67e77a004052b567c11837cc6f2c18fe
|
|
|
|
|
|
| |
Additional unit test to avoid regressions like Change I707f8e64.
Change-Id: Ic343bf5273ca06b646f0235c88d6edbe3d20d448
|
|
|
|
| |
Change-Id: I5b7bc76a370238d810d78522bd5531600746700f
|
|
|
|
|
|
|
|
|
| |
This change modifies the exception throwing JNI unit test to be
realistic and implements the missing exception throwing pieces on X86.
It also corrects some issues on ARM including methods with arguments
LJII (such as compareAndSwapInt).
Change-Id: I375f6efe2edeebb8007d7aa12c10b49742a8f119
|
|
|
|
|
|
| |
On ARM and x86. Added a unit test.
Change-Id: I6b1ee09ad18295108f406ce21d73555796ecbba6
|
|
|
|
|
|
|
|
|
|
| |
For both x86 and arm we were under computing the outgoing argument size.
For ARM the managed double/long passing had been assumed to be following AAPCS,
however, currently we split long/doubles across R1_R2 and R3 and the stack.
Add support for this in the managed register and jni compiler code.
Add test and various other clean ups to jni compiler code.
Change-Id: I4129076d052a8bce42304f5331b71aa3ac50210f
|
|
|
|
| |
Change-Id: Id0a6b6043b9604aa3bb077af0ed858be9bfa5407
|
|
|
|
|
| |
Also add new unit test.
Change-Id: I226501dbfec6e207318d8063b5daf53b7b606ee4
|
|
|
|
| |
Change-Id: Ie539275592fbb7b648f9ce5e4a619aecc576768c
|
|
|
|
|
|
| |
Should be "mov R2, R3; mov R1, R2" instead.
Change-Id: Ie5264c3fe38486781e09f54e1e6d1fdcf7a2d4e5
|
|
|
|
|
|
|
|
|
|
| |
I think this is as complete as possible right now. The remaining
two #if 0 sections require:
1. a way to get the Method* of the current native method.
2. a way to get the Class* of the type of a given Field*.
Change-Id: I331586022095fb36ccc10c9ac1890a59a9224d01
|
|
Change-Id: Iab19397c7a72fb9a3ca63bfd0bc4eaf1a98138ba
|