diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-02 07:15:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 10:15:29 -0400 |
commit | d405410e3c6ecfdefe345f2b78cf740effe784a1 (patch) | |
tree | 6e329cfb607a2be620e4669e4b7e24eb873d294f /include | |
parent | 1d096c1e53581ed9fe94694c9760babd1e12e580 (diff) |
YJIT: Move ROBJECT_OFFSET_* to yjit.c (#8157)
Notes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/internal/core/robject.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ruby/internal/core/robject.h b/include/ruby/internal/core/robject.h index dc1faad89f..c2bcae6306 100644 --- a/include/ruby/internal/core/robject.h +++ b/include/ruby/internal/core/robject.h @@ -119,13 +119,6 @@ struct RObject { } as; }; -/* Offsets for YJIT */ -#ifndef __cplusplus -static const int32_t ROBJECT_OFFSET_AS_HEAP_IVPTR = offsetof(struct RObject, as.heap.ivptr); -static const int32_t ROBJECT_OFFSET_AS_HEAP_IV_INDEX_TBL = offsetof(struct RObject, as.heap.iv_index_tbl); -static const int32_t ROBJECT_OFFSET_AS_ARY = offsetof(struct RObject, as.ary); -#endif - RBIMPL_ATTR_PURE_UNLESS_DEBUG() RBIMPL_ATTR_ARTIFICIAL() /** |