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/primitive.h b/src/primitive.h
index cb78ccc..eaa04cd 100644
--- a/src/primitive.h
+++ b/src/primitive.h
@@ -23,8 +23,9 @@
#include "base/macros.h"
namespace art {
-
+namespace mirror {
class Object;
+} // namespace mirror
class Primitive {
public:
@@ -77,7 +78,7 @@
case kPrimFloat: return 4;
case kPrimLong:
case kPrimDouble: return 8;
- case kPrimNot: return sizeof(Object*);
+ case kPrimNot: return sizeof(mirror::Object*);
default:
LOG(FATAL) << "Invalid type " << static_cast<int>(type);
return 0;