aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-13 19:07:31 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-14 11:08:43 +0900
commita075c55d0c29fa5c99c5a3b6f25540cf14ddaefd (patch)
tree3aa2f36ad3d178c7045944f4687c90c9fd088ca6 /internal
parentcb06b6632a0d6e33522d75cab7836ff457a452b5 (diff)
downloadruby-a075c55d0c29fa5c99c5a3b6f25540cf14ddaefd.tar.gz
Manage `rb_strterm_t` without imemo
Diffstat (limited to 'internal')
-rw-r--r--internal/imemo.h1
-rw-r--r--internal/parse.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/internal/imemo.h b/internal/imemo.h
index 57a705ce77..65335285ab 100644
--- a/internal/imemo.h
+++ b/internal/imemo.h
@@ -129,7 +129,6 @@ struct MEMO {
typedef struct rb_imemo_tmpbuf_struct rb_imemo_tmpbuf_t;
rb_imemo_tmpbuf_t *rb_imemo_tmpbuf_parser_heap(void *buf, rb_imemo_tmpbuf_t *old_heap, size_t cnt);
struct vm_ifunc *rb_vm_ifunc_new(rb_block_call_func_t func, const void *data, int min_argc, int max_argc);
-void rb_strterm_mark(VALUE obj);
static inline enum imemo_type imemo_type(VALUE imemo);
static inline int imemo_type_p(VALUE imemo, enum imemo_type imemo_type);
static inline bool imemo_throw_data_p(VALUE imemo);
diff --git a/internal/parse.h b/internal/parse.h
index 2fcbb24fc1..0bdd59c63e 100644
--- a/internal/parse.h
+++ b/internal/parse.h
@@ -36,7 +36,6 @@ typedef struct rb_strterm_heredoc_struct {
uint8_t quote;
uint8_t func;
} rb_strterm_heredoc_t;
-STATIC_ASSERT(rb_strterm_heredoc_t, sizeof(rb_strterm_heredoc_t) <= 4 * SIZEOF_VALUE);
#define HERETERM_LENGTH_MAX UINT_MAX