OSDN Git Service

Basic implementation of invoke / invoke-polymorphic.
authorNarayan Kamath <narayan@google.com>
Wed, 3 Aug 2016 11:46:58 +0000 (12:46 +0100)
committerNarayan Kamath <narayan@google.com>
Wed, 5 Oct 2016 09:34:59 +0000 (10:34 +0100)
commit9823e788ed3368ecf826c44bfa16ccabfcbe32f8
tree59dee92dfd7518a98905c8313bdcb0a2ca2946cb
parent82d4838d6bb3480cd25327cedc5179fb2d86881c
Basic implementation of invoke / invoke-polymorphic.

Basic switch interpreter support for invoke-polymorphic. This change
allows for virtual/interface and static invokes on method handles.

Support for direct invokes (including constructors) and field
getters and setters will be added in follow up changes.

Bug: 30550796
Test: make test-art-host

Change-Id: Ieb3a991d974060d930d56467908d5c7c11d0e38e
13 files changed:
runtime/dex_instruction_list.h
runtime/interpreter/interpreter_common.cc
runtime/interpreter/interpreter_common.h
runtime/interpreter/interpreter_switch_impl.cc
runtime/method_handles.h [new file with mode: 0644]
runtime/mirror/method_handle_impl.h
runtime/verifier/method_verifier.cc
test/955-methodhandles-smali/build [new file with mode: 0755]
test/955-methodhandles-smali/expected.txt [new file with mode: 0644]
test/955-methodhandles-smali/info.txt [new file with mode: 0644]
test/955-methodhandles-smali/run [new file with mode: 0755]
test/955-methodhandles-smali/smali/Main.smali [new file with mode: 0644]
test/etc/default-build