diff options
author | 2024-03-07 13:29:48 +0000 | |
---|---|---|
committer | 2024-03-07 13:29:48 +0000 | |
commit | f66031b556c386f582eab39b5c616104d77fc375 (patch) | |
tree | ff692b41c6022bdb576bcf5090b89a452608db9b /compiler/common_compiler_test.h | |
parent | 3370f9fc477f0b25c4c6b10321b3f8e46903ad4f (diff) |
Revert "Remove Compiler::Kind"
This reverts commit 3370f9fc477f0b25c4c6b10321b3f8e46903ad4f.
Reason for revert: Build failure: b/328584377
Change-Id: I078c00e2df24950a156cd0c3ac6d78778f6ac2ba
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r-- | compiler/common_compiler_test.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index 30d5734ba3..89f3fb40ad 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -60,6 +60,9 @@ class EXPORT CommonCompilerTestImpl { void SetUpRuntimeOptionsImpl(); + Compiler::Kind GetCompilerKind() const; + void SetCompilerKind(Compiler::Kind compiler_kind); + virtual CompilerFilter::Filter GetCompilerFilter() const { return CompilerFilter::kDefaultCompilerFilter; } @@ -73,6 +76,8 @@ class EXPORT CommonCompilerTestImpl { void ClearBootImageOption(); + Compiler::Kind compiler_kind_ = Compiler::kOptimizing; + InstructionSet instruction_set_ = (kRuntimeISA == InstructionSet::kArm) ? InstructionSet::kThumb2 : kRuntimeISA; // Take the default set of instruction features from the build. |