diff options
Diffstat (limited to 'compiler/driver/compiler_driver.h')
| -rw-r--r-- | compiler/driver/compiler_driver.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 24b6f177da..f94966733f 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -437,6 +437,10 @@ class CompilerDriver { // Get memory usage during compilation. std::string GetMemoryUsageString(bool extended) const; + void SetHadHardVerifierFailure() { + had_hard_verifier_failure_ = true; + } + private: // These flags are internal to CompilerDriver for collecting INVOKE resolution statistics. // The only external contract is that unresolved method has flags 0 and resolved non-0. @@ -575,6 +579,8 @@ class CompilerDriver { // included in the image. std::unique_ptr<std::set<std::string>> classes_to_compile_; + bool had_hard_verifier_failure_; + size_t thread_count_; class AOTCompilationStats; |