summaryrefslogtreecommitdiff
path: root/compiler/compilers.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-03-13 09:50:25 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2014-03-13 09:50:25 +0000
commit896362bbfa11b66b45f3ce5a9e8570a878d49e07 (patch)
tree270ad482ccb5d0e86dc15c70252e53fb7d7c8c20 /compiler/compilers.h
parentaf7ec0e4efd43aaa58094d036c85736059d9f18d (diff)
Fix virt-specifiers outside class definition errors.
Change-Id: Iab341e12e7a978aff6bc35117e9b15f3b2c2cedd
Diffstat (limited to 'compiler/compilers.h')
-rw-r--r--compiler/compilers.h16
1 files changed, 8 insertions, 8 deletions
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,