commit | 2cefb3be7346aa1b468e91b78ac6d7f9852a50e5 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Feb 22 13:32:33 2021 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Tue Feb 23 09:44:09 2021 +0000 |
tree | fa8c9c514386b114df20f3face4ef363af76625a | |
parent | 09efc1604936c234b65a5d278f5ea63da29b17cd [diff] |
x86: Fix CriticalNative argument spilling in JNI stubs. Do not move incoming stack arguments before we have spilled the scratch register ECX. Fix JniCompilerTest to initialize classes early so that we really test what we were supposed to. This exposed the x86 bug fixed here. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 172332525 Change-Id: I7c06c8ccf18f5f66772c70f6a9a9a314668ce70d