aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-08-02 07:15:29 -0700
committerGitHub <noreply@github.com>2023-08-02 10:15:29 -0400
commitd405410e3c6ecfdefe345f2b78cf740effe784a1 (patch)
tree6e329cfb607a2be620e4669e4b7e24eb873d294f /include
parent1d096c1e53581ed9fe94694c9760babd1e12e580 (diff)
downloadruby-d405410e3c6ecfdefe345f2b78cf740effe784a1.tar.gz
YJIT: Move ROBJECT_OFFSET_* to yjit.c (#8157)
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/core/robject.h7
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()
/**