diff options
| author | 2017-08-08 21:44:57 +0000 | |
|---|---|---|
| committer | 2017-08-08 21:44:57 +0000 | |
| commit | 18e91619f38349e29367567a70f2f974a8cdaf67 (patch) | |
| tree | 4b862a57195b67785e3cc4e5a763ccfc1ce85aa0 /compiler/dex/quick_compiler_callbacks.h | |
| parent | 785e3555685279767f52f1280ea13ba35b112e86 (diff) | |
| parent | 0b1c341d2d89a483142cd14bdeb4650ab00184f1 (diff) | |
Merge "Support class unloading in dex2oat for quicken multidex"
Diffstat (limited to 'compiler/dex/quick_compiler_callbacks.h')
| -rw-r--r-- | compiler/dex/quick_compiler_callbacks.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler/dex/quick_compiler_callbacks.h b/compiler/dex/quick_compiler_callbacks.h index a3a6c0972c..578aff45e5 100644 --- a/compiler/dex/quick_compiler_callbacks.h +++ b/compiler/dex/quick_compiler_callbacks.h @@ -22,6 +22,7 @@ namespace art { +class CompilerDriver; class VerificationResults; class QuickCompilerCallbacks FINAL : public CompilerCallbacks { @@ -53,8 +54,19 @@ class QuickCompilerCallbacks FINAL : public CompilerCallbacks { verification_results_ = verification_results; } + bool CanAssumeVerified(ClassReference ref) OVERRIDE; + + void SetDoesClassUnloading(bool does_class_unloading, CompilerDriver* compiler_driver) + OVERRIDE { + does_class_unloading_ = does_class_unloading; + compiler_driver_ = compiler_driver; + DCHECK(!does_class_unloading || compiler_driver_ != nullptr); + } + private: VerificationResults* verification_results_ = nullptr; + bool does_class_unloading_ = false; + CompilerDriver* compiler_driver_ = nullptr; std::unique_ptr<verifier::VerifierDeps> verifier_deps_; }; |