MethodBodyCache.h 372 B

12345678910111213141516171819
  1. #pragma once
  2. #include "Image.h"
  3. namespace hybridclr
  4. {
  5. namespace metadata
  6. {
  7. class MethodBodyCache
  8. {
  9. public:
  10. static MethodBody* GetMethodBody(hybridclr::metadata::Image* image, uint32_t token);
  11. static void EnableShrinkMethodBodyCache(bool shrink);
  12. static bool IsInlineable(const MethodInfo* method);
  13. static void DisableInline(const MethodInfo* method);
  14. };
  15. }
  16. }