diff options
author | 2024-05-30 15:42:20 +0000 | |
---|---|---|
committer | 2024-06-21 15:16:44 +0000 | |
commit | d92a43f4310e2d634d6e8f24103fc1e27557d784 (patch) | |
tree | 7994a8b199c76327544ee4623aeab93bcca6a916 /compiler/optimizing/sharpening.h | |
parent | fc87179fb4998acdc32b3d326c101638e45b7211 (diff) |
Revert^2 "x86_64: Add JIT support for LoadMethodType."
This reverts commit 69c9ea4f93a688ff50e08060be37bcfd3f3e9910.
Instead of storing reversed method_code_map_, now just keep
MethodType-s associated with a compiled code.
Increasing constant in 979/Main.java to trigger jit more reliably.
Bug: 297147201
Test: CtsPerfettoTestCases
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: I5ece80b63cd0d6dac2805c94649726dc62fe85db
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 |