summaryrefslogtreecommitdiff
path: root/compiler/compiler.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-09-30 16:18:02 +0200
committer VladimĂ­r Marko <vmarko@google.com> 2022-10-10 08:23:48 +0000
commitd5a43192e44935605aa9abba6beb31760ef57da0 (patch)
treedab5be3c5a9f93c3197e7d759f8b0970a404f0db /compiler/compiler.cc
parent81f1cc9ed5ee68ba3bf5163b78151d09ec560e77 (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/compiler.cc')
-rw-r--r--compiler/compiler.cc2
1 files changed, 1 insertions, 1 deletions
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<uint8_t, 4> compiler_oat_version = OatHeader::kOatVersion;