diff options
author | 2017-08-09 10:05:47 -0700 | |
---|---|---|
committer | 2017-08-09 11:16:52 -0700 | |
commit | 9e050df94df5c6736e1e24705194f62fbc119114 (patch) | |
tree | 0fe2c2a7a9e01cba8abaf449938503e5b906ee78 /runtime/compiler_callbacks.h | |
parent | 1bd8e5a1b2055e0ff7977ba7e149534d2ee0a696 (diff) |
Revert "Revert "Support class unloading in dex2oat for quicken multidex""
Bug: 63467744
Test: test-art-host
This reverts commit 6921d90a241f0307ac25120f8f976744d4a57706.
Change-Id: If70e31d3a15579dc75fd40bfef186e0124568c87
Diffstat (limited to 'runtime/compiler_callbacks.h')
-rw-r--r-- | runtime/compiler_callbacks.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/compiler_callbacks.h b/runtime/compiler_callbacks.h index 806653a265..c51bb5e176 100644 --- a/runtime/compiler_callbacks.h +++ b/runtime/compiler_callbacks.h @@ -22,6 +22,8 @@ namespace art { +class CompilerDriver; + namespace verifier { class MethodVerifier; @@ -49,6 +51,13 @@ class CompilerCallbacks { virtual verifier::VerifierDeps* GetVerifierDeps() const = 0; virtual void SetVerifierDeps(verifier::VerifierDeps* deps ATTRIBUTE_UNUSED) {} + virtual bool CanAssumeVerified(ClassReference ref ATTRIBUTE_UNUSED) { + return false; + } + + virtual void SetDoesClassUnloading(bool does_class_unloading ATTRIBUTE_UNUSED, + CompilerDriver* compiler_driver ATTRIBUTE_UNUSED) {} + bool IsBootImage() { return mode_ == CallbackMode::kCompileBootImage; } |