summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_test.cpp
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2020-02-26 12:46:09 +0000
committerVladimir Marko <vmarko@google.com>2020-03-02 12:53:56 +0000
commit662f12ee2f2b886aebcc22d321b2d752227e0b38 (patch)
treeb10edc5ca99d0bae716462580cb025b4b48eb83d /libnativeloader/native_loader_test.cpp
parenteedca4a5f72b449df035979f31785dd5eaa46e0e (diff)
Move entry spills determination to JNI compiler.
The calling convention no longer describes entry spills as spilling is the JNI compiler's responsibility. This allows future improvements, such as spilling registers directly to the HandleScope or outgoing stack args. Remove the notion of interprocedural scratch register from calling conventions and let assemblers deal with all scratch register uses. The remaining JNI assembler APIs that take scratch registers are currently unused and can be removed. Also fix a bug in disassembly comparison for tests; the contents of two files were considered identical if the second one just contained additional data. This change fully preserves the generated code and adds TODO comments where doing so results in weird or suboptimal code. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: Prebuilt boot image is unchanged. Test: aosp_taimen-userdebug boots. Bug: 12189621 Change-Id: Ic26a670276920313cd907a6eda8d982cf0abfd81
Diffstat (limited to 'libnativeloader/native_loader_test.cpp')
0 files changed, 0 insertions, 0 deletions