diff options
| author | 2023-07-13 13:43:12 +0000 | |
|---|---|---|
| committer | 2023-07-14 08:45:01 +0000 | |
| commit | 028fb48ae2bddeef20b91e4a1582ce58df724741 (patch) | |
| tree | 412a498c59cea952598261fa1f76c0b429655c51 /runtime/interpreter/interpreter_common.h | |
| parent | 53472ff9f59c6e6d1494fe767b9137794b8d5f0f (diff) | |
Clean up ART intrinsics.
Change `intrinsics_list.h` to a normal include file instead
of the weird include-use-and-undef pattern. Prefix macros
defined in that file with `ART_`.
And also remove blank lines at end of some files and address
some comments on merged changes.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 283082089
Change-Id: I9c462f973c0c4bb53eff39fbe191014f6321d7c5
Diffstat (limited to 'runtime/interpreter/interpreter_common.h')
| -rw-r--r-- | runtime/interpreter/interpreter_common.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/interpreter/interpreter_common.h b/runtime/interpreter/interpreter_common.h index b8d6817904..667a5990a9 100644 --- a/runtime/interpreter/interpreter_common.h +++ b/runtime/interpreter/interpreter_common.h @@ -47,6 +47,7 @@ #include "handle_scope-inl.h" #include "interpreter_cache-inl.h" #include "interpreter_switch_impl.h" +#include "intrinsics_list.h" #include "jit/jit-inl.h" #include "mirror/call_site.h" #include "mirror/class-inl.h" @@ -235,9 +236,7 @@ bool Do ## Name(Thread* self, \ const Instruction* inst, \ uint16_t inst_data, \ JValue* result) REQUIRES_SHARED(Locks::mutator_lock_); -#include "intrinsics_list.h" -INTRINSICS_LIST(DECLARE_SIGNATURE_POLYMORPHIC_HANDLER) -#undef INTRINSICS_LIST +ART_INTRINSICS_LIST(DECLARE_SIGNATURE_POLYMORPHIC_HANDLER) #undef DECLARE_SIGNATURE_POLYMORPHIC_HANDLER // Performs a invoke-polymorphic or invoke-polymorphic-range. |