diff options
author | Brian Carlstrom <bdc@google.com> | 2014-03-04 23:19:06 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-03-04 23:34:23 -0800 |
commit | c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690 (patch) | |
tree | b587b9b0df1969ab4e9d49c0a57c83cbf2c35feb /compiler/driver | |
parent | c84d2f1d3feb6271ea260947e2a1eb43d64a099b (diff) | |
download | art-c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690.zip art-c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690.tar.gz art-c0a1b18ac71ec0ff3ec0cca3cc8db9eb74e50690.tar.bz2 |
Reuse NoopCompilerCallbacks in oatdump
Change-Id: Icb4d3941196c1a236f0184fe4d0b7f5838bc13bd
Diffstat (limited to 'compiler/driver')
-rw-r--r-- | compiler/driver/compiler_callbacks_impl.h | 10 |
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); } |