From c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Tue, 4 Mar 2014 23:19:06 -0800 Subject: Reuse NoopCompilerCallbacks in oatdump Change-Id: Icb4d3941196c1a236f0184fe4d0b7f5838bc13bd --- compiler/driver/compiler_callbacks_impl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'compiler/driver/compiler_callbacks_impl.h') diff --git a/compiler/driver/compiler_callbacks_impl.h b/compiler/driver/compiler_callbacks_impl.h index fd2cd4a31d..ed6a9255b9 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); } -- cgit v1.2.3-59-g8ed1b