diff options
author | 2022-09-30 16:18:02 +0200 | |
---|---|---|
committer | 2022-10-10 08:23:48 +0000 | |
commit | d5a43192e44935605aa9abba6beb31760ef57da0 (patch) | |
tree | dab5be3c5a9f93c3197e7d759f8b0970a404f0db /compiler/common_compiler_test.h | |
parent | 81f1cc9ed5ee68ba3bf5163b78151d09ec560e77 (diff) |
ART: Move `CompiledMethod{,-Storage}` to dex2oat/.
Introduce a `CompiledCodeStorage` interface for callbacks to
`dex2oat` for storing code produced by `libart-compiler`.
Using this new interface, move `CompiledMethodStorage`
(this is a misnomer as it's also storing non-method thunk
code), `CompiledMethod` and `SwapSpace` to dex2oat/.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing --jit
Test: run-gtests.sh
Test: testrunner.py --target --optimizing
Change-Id: Icb7ffc134d00e53c25bd665d044dd1c98bd49a64
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r-- | compiler/common_compiler_test.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index be2e483225..11755224d1 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -90,6 +90,8 @@ class CommonCompilerTestImpl { private: class CodeAndMetadata; + class OneCompiledMethodStorage; + std::vector<CodeAndMetadata> code_and_metadata_; }; |