summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-06-22 11:56:34 +0100
committerVladimir Marko <vmarko@google.com>2018-06-25 11:41:47 +0100
commit213ee2da6a1c58d0fc12c937bbd9c9974ca00aca (patch)
treebfb5d5ed85473054d863bbaa91a7d9a69a803eec /compiler/common_compiler_test.h
parentdc4bccef0ded1c261bf9838def2ef329765a8682 (diff)
Move dex_files_for_oat_file_ to CompilerOptions.
A step toward removing the CompilerDriver dependency from several classes, including HSharpening and ImageWriter. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I364ef66511fdf855cb11b12c818a40572b037727
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r--compiler/common_compiler_test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h
index 46b59a35be..f070bbbeb8 100644
--- a/compiler/common_compiler_test.h
+++ b/compiler/common_compiler_test.h
@@ -33,6 +33,7 @@ class ClassLoader;
class CompilerDriver;
class CompilerOptions;
class CumulativeLogger;
+class DexFile;
class ProfileCompilationInfo;
class VerificationResults;
@@ -93,6 +94,8 @@ class CommonCompilerTest : public CommonRuntimeTest {
void UnreserveImageSpace();
+ void SetDexFilesForOatFile(const std::vector<const DexFile*>& dex_files);
+
Compiler::Kind compiler_kind_ = Compiler::kOptimizing;
std::unique_ptr<CompilerOptions> compiler_options_;
std::unique_ptr<VerificationResults> verification_results_;