| 1104 | #endif |
| 1105 | template <typename Class> |
| 1106 | TVM_FFI_INLINE static int64_t GetObjectOffsetToSubclass() { |
| 1107 | return static_cast<int64_t>(__builtin_offsetof(Class, header_)) - |
| 1108 | static_cast<int64_t>(__builtin_offsetof(Object, header_)); |
| 1109 | } |
| 1110 | #if defined(__clang__) || defined(__GNUC__) |
| 1111 | #pragma GCC diagnostic pop |
| 1112 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected