mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove rb_imemo_tmpbuf_t
from parser
No parser semantic value types are `VALUE` then no need to use imemo for managing semantic value stack anymore.
This commit is contained in:
parent
e651395210
commit
e816ab0b0c
7 changed files with 0 additions and 99 deletions
|
@ -61,16 +61,6 @@
|
|||
|
||||
#define rb_encoding void
|
||||
|
||||
#ifndef INTERNAL_IMEMO_H
|
||||
struct rb_imemo_tmpbuf_struct {
|
||||
VALUE flags;
|
||||
VALUE reserved;
|
||||
VALUE *ptr; /* malloc'ed buffer */
|
||||
struct rb_imemo_tmpbuf_struct *next; /* next imemo */
|
||||
size_t cnt; /* buffer size in VALUE */
|
||||
};
|
||||
#endif
|
||||
|
||||
#undef xmalloc
|
||||
#define xmalloc p->config->malloc
|
||||
#undef xcalloc
|
||||
|
@ -95,8 +85,6 @@ struct rb_imemo_tmpbuf_struct {
|
|||
#undef MEMCPY
|
||||
#define MEMCPY(p1,p2,type,n) (p->config->nonempty_memcpy((p1), (p2), sizeof(type), (n)))
|
||||
|
||||
#define rb_imemo_tmpbuf_parser_heap p->config->tmpbuf_parser_heap
|
||||
|
||||
#define compile_callback p->config->compile_callback
|
||||
#define reg_named_capture_assign p->config->reg_named_capture_assign
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue