summaryrefslogtreecommitdiff
path: root/compiler/dex/quick_compiler_callbacks.cc
diff options
context:
space:
mode:
author Richard Uhler <ruhler@google.com> 2017-08-09 10:12:06 +0000
committer Richard Uhler <ruhler@google.com> 2017-08-09 10:12:06 +0000
commit6921d90a241f0307ac25120f8f976744d4a57706 (patch)
tree04365479a12f9be9bfee324395284eb28391d965 /compiler/dex/quick_compiler_callbacks.cc
parent0b1c341d2d89a483142cd14bdeb4650ab00184f1 (diff)
Revert "Support class unloading in dex2oat for quicken multidex"
This reverts commit 0b1c341d2d89a483142cd14bdeb4650ab00184f1. New test Dex2oatDeterminism.UnloadCompile fails on bots gtest-debug-gc and friends. Change-Id: Ib101fc4390d90f88fe017d8482775d5e975f2ccb
Diffstat (limited to 'compiler/dex/quick_compiler_callbacks.cc')
-rw-r--r--compiler/dex/quick_compiler_callbacks.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/dex/quick_compiler_callbacks.cc b/compiler/dex/quick_compiler_callbacks.cc
index c7e9f4fc07..872f7ea15d 100644
--- a/compiler/dex/quick_compiler_callbacks.cc
+++ b/compiler/dex/quick_compiler_callbacks.cc
@@ -16,7 +16,6 @@
#include "quick_compiler_callbacks.h"
-#include "driver/compiler_driver.h"
#include "verification_results.h"
#include "verifier/method_verifier-inl.h"
@@ -34,17 +33,4 @@ void QuickCompilerCallbacks::ClassRejected(ClassReference ref) {
}
}
-bool QuickCompilerCallbacks::CanAssumeVerified(ClassReference ref) {
- // If we don't have class unloading enabled in the compiler, we will never see class that were
- // previously verified. Return false to avoid overhead from the lookup in the compiler driver.
- if (!does_class_unloading_) {
- return false;
- }
- DCHECK(compiler_driver_ != nullptr);
- // In the case of the quicken filter: avoiding verification of quickened instructions, which the
- // verifier doesn't currently support.
- // In the case of the verify filter, avoiding verifiying twice.
- return compiler_driver_->CanAssumeVerified(ref);
-}
-
} // namespace art