Execute an application even when dex2oat crashes.
Bug: 17000769
Change-Id: Iffeb582862a5e794b6c7364c7ec2368cfd0f2214
diff --git a/runtime/oat_file.h b/runtime/oat_file.h
index 9710a2a..810eccb 100644
--- a/runtime/oat_file.h
+++ b/runtime/oat_file.h
@@ -133,6 +133,8 @@
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 @@
// 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 @@
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_;