OSDN Git Service

method_handles: Complete support for emulated stack frames.
authorNarayan Kamath <narayan@google.com>
Mon, 24 Oct 2016 16:14:25 +0000 (17:14 +0100)
committerNarayan Kamath <narayan@google.com>
Fri, 28 Oct 2016 13:11:45 +0000 (14:11 +0100)
commit000e1885701c8fdad07a784e3771881fa9be1d8a
tree77d11180fb1d93903fa6c6cd58383d91a82affc5
parentb5cc1d1321e36d38cd48ae079438a8758b82edc1
method_handles: Complete support for emulated stack frames.

Most of this change is a refactor that templatizes the code
that performs argument conversions. This allows us to copy arguments
between two shadow frames, or an emulated stack frame and a shadow
frame.

Test: make test-art-host
Bug: 30550796

Change-Id: I23e65735a2dbd28f3c7b7d1ccf9762e77e0cf1f1
18 files changed:
runtime/Android.bp
runtime/class_linker.cc
runtime/class_linker.h
runtime/class_linker_test.cc
runtime/interpreter/interpreter_common.cc
runtime/method_handles-inl.h
runtime/method_handles.h
runtime/mirror/dex_cache.h
runtime/mirror/emulated_stack_frame.cc [new file with mode: 0644]
runtime/mirror/emulated_stack_frame.h [new file with mode: 0644]
runtime/runtime.cc
runtime/runtime.h
test/956-methodhandles/src/Main.java
test/957-methodhandle-transforms/build [new file with mode: 0755]
test/957-methodhandle-transforms/expected.txt [new file with mode: 0644]
test/957-methodhandle-transforms/info.txt [new file with mode: 0644]
test/957-methodhandle-transforms/run [new file with mode: 0755]
test/957-methodhandle-transforms/src/Main.java [new file with mode: 0644]