diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-07-22 10:48:00 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-08-13 18:01:51 +0100 |
commit | 4fcdc94d22a4608e355aa8df36240181149d10e8 (patch) | |
tree | cb600df7e9b585720c03a08b10509151aa96d5dd /runtime/oat_file.h | |
parent | b66252112d45fd24eab85122fa8902afd1324542 (diff) | |
download | art-4fcdc94d22a4608e355aa8df36240181149d10e8.tar.gz art-4fcdc94d22a4608e355aa8df36240181149d10e8.tar.bz2 art-4fcdc94d22a4608e355aa8df36240181149d10e8.zip |
Execute an application even when dex2oat crashes.
Bug: 17000769
Change-Id: Iffeb582862a5e794b6c7364c7ec2368cfd0f2214
Diffstat (limited to 'runtime/oat_file.h')
-rw-r--r-- | runtime/oat_file.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/oat_file.h b/runtime/oat_file.h index 9710a2addd..810eccb2d1 100644 --- a/runtime/oat_file.h +++ b/runtime/oat_file.h @@ -133,6 +133,8 @@ class OatFile { const uint32_t code_offset, const uint32_t gc_map_offset); + OatMethod() {} + private: template<class T> T GetOatPointer(uint32_t offset) const { @@ -166,6 +168,8 @@ class OatFile { // methods are not included. const OatMethod GetOatMethod(uint32_t method_index) const; + OatClass() {} + private: OatClass(const OatFile* oat_file, mirror::Class::Status status, @@ -174,13 +178,13 @@ class OatFile { const uint32_t* bitmap_pointer, const OatMethodOffsets* methods_pointer); - const OatFile* const oat_file_; + const OatFile* oat_file_; - const mirror::Class::Status status_; + mirror::Class::Status status_; - const OatClassType type_; + OatClassType type_; - const uint32_t* const bitmap_; + const uint32_t* bitmap_; const OatMethodOffsets* methods_pointer_; |