summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 74d081d29e..c8a41ce24b 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -115,7 +115,9 @@ class CompilerOptions final {
}
bool IsAnyCompilationEnabled() const {
- return CompilerFilter::IsAnyCompilationEnabled(compiler_filter_);
+ return CompilerFilter::IsAnyCompilationEnabled(compiler_filter_) &&
+ // TODO(riscv64): remove this when we have compiler support for RISC-V
+ GetInstructionSet() != InstructionSet::kRiscv64;
}
size_t GetHugeMethodThreshold() const {