1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Constify line_node in iseq_compile_each0

This commit is contained in:
Nobuyoshi Nakada 2021-08-31 00:47:56 +09:00
parent a598730e79
commit 181207e830
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -8145,7 +8145,7 @@ static int
iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, int popped)
{
const int line = (int)nd_line(node);
const NODE *line_node = node;
const NODE *const line_node = node;
const enum node_type type = nd_type(node);
struct rb_iseq_constant_body *const body = iseq->body;