Directory restructuring of object.h
Break object.h into constituent files.
Reduce number of #includes in other GC header files.
Introduce -inl.h files to avoid mirror files #include-ing each other.
Check invariants of verifier RegTypes for all constructors.
Change-Id: Iecf1171c02910ac152d52947330ef456df4043bc
diff --git a/src/compiled_class.h b/src/compiled_class.h
index 97dd8ee..f050ee6 100644
--- a/src/compiled_class.h
+++ b/src/compiled_class.h
@@ -17,19 +17,19 @@
#ifndef ART_SRC_COMPILED_CLASS_H_
#define ART_SRC_COMPILED_CLASS_H_
-#include "object.h"
+#include "mirror/class.h"
namespace art {
class CompiledClass {
public:
- explicit CompiledClass(Class::Status status) : status_(status) {}
+ explicit CompiledClass(mirror::Class::Status status) : status_(status) {}
~CompiledClass() {}
- Class::Status GetStatus() const {
+ mirror::Class::Status GetStatus() const {
return status_;
}
private:
- const Class::Status status_;
+ const mirror::Class::Status status_;
};
} // namespace art