@@ -30,10 +30,12 @@ #define hrt_assert_is_valid(tag) \ assert(is_valid((tag)), "invalid HR type: %u", (uint) (tag)) class HeapRegionType VALUE_OBJ_CLASS_SPEC { +friend class VMStructs; + private: // We encode the value of the heap region type so the generation can be // determined quickly. The tag is split into two parts: // // major type (young, old, humongous, archive) : top N-1 bits