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/compiler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/compiler.cc') diff --git a/compiler/compiler.cc b/compiler/compiler.cc index 98d73396bc..727b9dde78 100644 --- a/compiler/compiler.cc +++ b/compiler/compiler.cc @@ -28,7 +28,7 @@ namespace art { Compiler* Compiler::Create(const CompilerOptions& compiler_options, - CompiledMethodStorage* storage, + CompiledCodeStorage* storage, Compiler::Kind kind) { // Check that oat version when runtime was compiled matches the oat version of the compiler. constexpr std::array compiler_oat_version = OatHeader::kOatVersion; -- cgit v1.2.3-59-g8ed1b