summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_callbacks_impl.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-03-04 23:19:06 -0800
committerBrian Carlstrom <bdc@google.com>2014-03-04 23:34:23 -0800
commitc0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690 (patch)
treeb587b9b0df1969ab4e9d49c0a57c83cbf2c35feb /compiler/driver/compiler_callbacks_impl.h
parentc84d2f1d3feb6271ea260947e2a1eb43d64a099b (diff)
downloadart-c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690.zip
art-c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690.tar.gz
art-c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690.tar.bz2
Reuse NoopCompilerCallbacks in oatdump
Change-Id: Icb4d3941196c1a236f0184fe4d0b7f5838bc13bd
Diffstat (limited to 'compiler/driver/compiler_callbacks_impl.h')
-rw-r--r--compiler/driver/compiler_callbacks_impl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/driver/compiler_callbacks_impl.h b/compiler/driver/compiler_callbacks_impl.h
index fd2cd4a..ed6a925 100644
--- a/compiler/driver/compiler_callbacks_impl.h
+++ b/compiler/driver/compiler_callbacks_impl.h
@@ -23,7 +23,7 @@
namespace art {
-class CompilerCallbacksImpl : public CompilerCallbacks {
+class CompilerCallbacksImpl FINAL : public CompilerCallbacks {
public:
CompilerCallbacksImpl(VerificationResults* verification_results,
DexFileToMethodInlinerMap* method_inliner_map)
@@ -33,10 +33,10 @@ class CompilerCallbacksImpl : public CompilerCallbacks {
CHECK(method_inliner_map != nullptr);
}
- virtual ~CompilerCallbacksImpl() { }
+ ~CompilerCallbacksImpl() { }
- virtual bool MethodVerified(verifier::MethodVerifier* verifier)
- SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
+ bool MethodVerified(verifier::MethodVerifier* verifier)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) OVERRIDE {
bool result = verification_results_->ProcessVerifiedMethod(verifier);
if (result) {
MethodReference ref = verifier->GetMethodReference();
@@ -45,7 +45,7 @@ class CompilerCallbacksImpl : public CompilerCallbacks {
}
return result;
}
- virtual void ClassRejected(ClassReference ref) {
+ void ClassRejected(ClassReference ref) OVERRIDE {
verification_results_->AddRejectedClass(ref);
}