diff options
author | 2020-08-21 12:53:08 +0000 | |
---|---|---|
committer | 2020-08-24 16:40:49 +0000 | |
commit | a18ed1bcdb665320c901e1c07b9f92af186077d7 (patch) | |
tree | 43abfa05a8a80d630303e4ca2522854db6af7cf9 /compiler/optimizing/nodes.h | |
parent | 77773ac28e30fa56f69096bf0b6cf5543a465347 (diff) |
X86: VarHandle.get() for reference type static fields.
This commit extends the VarHandle.get() implementation to work with
reference type fields, not only primitive types.
Test: art/test.py --host --32 -r -t 712-varhandle-invocations
Bug: 65872996
Change-Id: I7c0d3487e94ae00d120a5d1167b7a33ffabc6d20
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 3ad987e3f0..9b984d52e7 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -4514,6 +4514,7 @@ class HInvokePolymorphic final : public HInvoke { public: HInvokePolymorphic(ArenaAllocator* allocator, uint32_t number_of_arguments, + uint32_t number_of_other_inputs, DataType::Type return_type, uint32_t dex_pc, uint32_t dex_method_index, @@ -4524,7 +4525,7 @@ class HInvokePolymorphic final : public HInvoke { : HInvoke(kInvokePolymorphic, allocator, number_of_arguments, - /* number_of_other_inputs= */ 0u, + number_of_other_inputs, return_type, dex_pc, dex_method_index, |