From d5a43192e44935605aa9abba6beb31760ef57da0 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 30 Sep 2022 16:18:02 +0200 Subject: 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 --- compiler/common_compiler_test.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/common_compiler_test.h') 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 code_and_metadata_; }; -- cgit v1.2.3-59-g8ed1b