summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r--compiler/common_compiler_test.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h
index 32a5234797..80b26eefe9 100644
--- a/compiler/common_compiler_test.h
+++ b/compiler/common_compiler_test.h
@@ -44,8 +44,12 @@ template<class T> class Handle;
// Export all symbols in `CommonCompilerTestImpl` for dex2oat tests.
class EXPORT CommonCompilerTestImpl {
public:
- static std::unique_ptr<CompilerOptions> CreateCompilerOptions(InstructionSet instruction_set,
- const std::string& variant);
+ // Create compiler options from the given instruction set and variant. Optionally use a string of
+ // instruction set features in addition to the features from the variant.
+ static std::unique_ptr<CompilerOptions> CreateCompilerOptions(
+ InstructionSet instruction_set,
+ const std::string& variant,
+ const std::optional<std::string>& extra_features = std::nullopt);
CommonCompilerTestImpl();
virtual ~CommonCompilerTestImpl();