diff options
author | 2024-01-30 14:07:27 +0000 | |
---|---|---|
committer | 2024-04-11 12:38:25 +0000 | |
commit | 53ca944020bb86199f6f80d8594d5deb1b1d46dd (patch) | |
tree | 2898b11cbcd41c3e907de9c08b4031047a8d5187 /compiler/optimizing/sharpening.h | |
parent | a7bc7cbf3182cb5c66f7cf36611c0389e7b7cc0f (diff) |
x86_64: Add JIT support for LoadMethodType.
In aosp/2876518 JIT code made runtime calls.
Bug: 297147201
Test: ./art/test/testrunner/testrunner.py --host --64 --jit -b
Test: ./art/test/testrunner/testrunner.py --host --64 -b
Test: ./art/test.py --host -b
Change-Id: Ifdfd3ace9419b34f8079c9ec4b1b2de31cb50ef7
Diffstat (limited to 'compiler/optimizing/sharpening.h')
-rw-r--r-- | compiler/optimizing/sharpening.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler/optimizing/sharpening.h b/compiler/optimizing/sharpening.h index 6dfe904f27..88d3b2f604 100644 --- a/compiler/optimizing/sharpening.h +++ b/compiler/optimizing/sharpening.h @@ -27,7 +27,7 @@ class CodeGenerator; class DexCompilationUnit; // Utility methods that try to improve the way we dispatch methods, and access -// types and strings. +// types, strings and method types. class HSharpening { public: // Used by the builder and InstructionSimplifier. @@ -54,6 +54,12 @@ class HSharpening { CodeGenerator* codegen, const DexCompilationUnit& dex_compilation_unit, VariableSizedHandleScope* handles); + + // Used by the builder. + static void ProcessLoadMethodType(HLoadMethodType* load_method_type, + CodeGenerator* codegen, + const DexCompilationUnit& dex_compilation_unit, + VariableSizedHandleScope* handles); }; } // namespace art |