OSDN Git Service

Refactor code for unresolved field entrypoint.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 19 Jan 2017 14:22:26 +0000 (14:22 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Thu, 26 Jan 2017 10:37:58 +0000 (10:37 +0000)
commit5b3c6c0fcca76d82a4c9acb03f7714457ae53dd9
treee1678dcd577abb63391a0cfcbb27a69a0ac4e769
parentc9569731061e560cb56116255b00a49d6a5daeb8
Refactor code for unresolved field entrypoint.

- Do macro magic to avoid source code duplication.
- Do not fetch the referrer from the assembly, but
  from the C entrypoint instead.

Test: test-art-host test-art-target

Change-Id: Ib139c94bc8f74686640cad538ba75dc56fa00e1d
14 files changed:
compiler/optimizing/code_generator_arm.h
compiler/optimizing/code_generator_arm64.h
compiler/optimizing/code_generator_arm_vixl.h
compiler/optimizing/code_generator_x86.h
compiler/optimizing/code_generator_x86_64.h
runtime/arch/arm/quick_entrypoints_arm.S
runtime/arch/arm64/quick_entrypoints_arm64.S
runtime/arch/stub_test.cc
runtime/arch/x86/quick_entrypoints_x86.S
runtime/arch/x86_64/quick_entrypoints_x86_64.S
runtime/art_field-inl.h
runtime/entrypoints/entrypoint_utils.cc
runtime/entrypoints/entrypoint_utils.h
runtime/entrypoints/quick/quick_field_entrypoints.cc