aboutsummaryrefslogtreecommitdiffstats
path: root/yjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/yjit.c b/yjit.c
index 2f8abd4567..8e0c43f1bd 100644
--- a/yjit.c
+++ b/yjit.c
@@ -40,8 +40,7 @@
// Field offsets for the RString struct
enum rstring_offsets {
- RUBY_OFFSET_RSTRING_AS_HEAP_LEN = offsetof(struct RString, as.heap.len),
- RUBY_OFFSET_RSTRING_EMBED_LEN = offsetof(struct RString, as.embed.len),
+ RUBY_OFFSET_RSTRING_LEN = offsetof(struct RString, len)
};
// We need size_t to have a known size to simplify code generation and FFI.