summaryrefslogtreecommitdiff
path: root/runtime/class_linker_test.cc
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2017-01-19 20:42:23 +0000
committer Narayan Kamath <narayan@google.com> 2017-01-24 17:15:01 +0000
commitc5889ce65ef7d31d4f0fe7be8f7f7f45948c5b5b (patch)
tree5ae5f194ed3f8aa8eb6cec23f3262d5c2b3807fa /runtime/class_linker_test.cc
parentd8981ee26340c46b608fdff2cdf294b2f7d4afce (diff)
MethodHandles: Support and tests for invokeWithArguments.
Tracks libcore change a8cf0bffdb9e9cf031efd0d3c8b5645d45963562. Test: make test-art-host Change-Id: I65fbf3a82b629585324c477bdce6dabd63ae408e
Diffstat (limited to 'runtime/class_linker_test.cc')
-rw-r--r--runtime/class_linker_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc
index 7b6c0dc510..c3115420c7 100644
--- a/runtime/class_linker_test.cc
+++ b/runtime/class_linker_test.cc
@@ -743,6 +743,8 @@ struct MethodHandleImplOffsets : public CheckOffsets<mirror::MethodHandleImpl> {
MethodHandleImplOffsets() : CheckOffsets<mirror::MethodHandleImpl>(
false, "Ljava/lang/invoke/MethodHandle;") {
addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, art_field_or_method_), "artFieldOrMethod");
+ addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, cached_spread_invoker_),
+ "cachedSpreadInvoker");
addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, handle_kind_), "handleKind");
addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, nominal_type_), "nominalType");
addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, method_type_), "type");