Example #1
0
 RecyclableObject* RecyclableObject::GetPrototype() const
 {
     Type* type = GetType();
     if (!type->HasSpecialPrototype())
     {
         return type->GetPrototype();
     }
     return const_cast<RecyclableObject*>(this)->GetPrototypeSpecial();
 }