From 896362bbfa11b66b45f3ce5a9e8570a878d49e07 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 13 Mar 2014 09:50:25 +0000 Subject: Fix virt-specifiers outside class definition errors. Change-Id: Iab341e12e7a978aff6bc35117e9b15f3b2c2cedd --- compiler/compilers.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'compiler/compilers.h') diff --git a/compiler/compilers.h b/compiler/compilers.h index 65c8428383..892a6bd1d5 100644 --- a/compiler/compilers.h +++ b/compiler/compilers.h @@ -25,9 +25,9 @@ class QuickCompiler : public Compiler { public: QuickCompiler() : Compiler(100) {} - void Init(CompilerDriver& driver) const; + void Init(CompilerDriver& driver) const OVERRIDE; - void UnInit(CompilerDriver& driver) const; + void UnInit(CompilerDriver& driver) const OVERRIDE; CompiledMethod* Compile(CompilerDriver& driver, const DexFile::CodeItem* code_item, @@ -36,14 +36,14 @@ class QuickCompiler : public Compiler { uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, - const DexFile& dex_file) const; + const DexFile& dex_file) const OVERRIDE; CompiledMethod* JniCompile(CompilerDriver& driver, uint32_t access_flags, uint32_t method_idx, - const DexFile& dex_file) const; + const DexFile& dex_file) const OVERRIDE; - uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const; + uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const OVERRIDE; bool WriteElf(art::File* file, OatWriter* oat_writer, @@ -53,9 +53,9 @@ class QuickCompiler : public Compiler { OVERRIDE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - Backend* GetCodeGenerator(CompilationUnit* cu, void* compilation_unit) const; + Backend* GetCodeGenerator(CompilationUnit* cu, void* compilation_unit) const OVERRIDE; - void InitCompilationUnit(CompilationUnit& cu) const {} + void InitCompilationUnit(CompilationUnit& cu) const OVERRIDE {} /* * @brief Generate and return Dwarf CFI initialization, if supported by the @@ -83,7 +83,7 @@ class OptimizingCompiler : public QuickCompiler { uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, - const DexFile& dex_file) const; + const DexFile& dex_file) const OVERRIDE; CompiledMethod* TryCompile(CompilerDriver& driver, const DexFile::CodeItem* code_item, -- cgit v1.2.3-59-g8ed1b