diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-08-18 23:25:40 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-08-18 23:25:40 +0900 |
| commit | 6f61b35bcf2e0686027c1f94c5b1ef5706ccea7d (patch) | |
| tree | b34cd6e85842f4fb96b4b596bf5a7c1e554bc0ca /src/array.c | |
| parent | 83dab1ee0d0d3aa76e44f7fbf14360ee501be151 (diff) | |
| parent | 279c21b816777b8b25457b27fd1994a9fe359a98 (diff) | |
| download | mruby-6f61b35bcf2e0686027c1f94c5b1ef5706ccea7d.tar.gz mruby-6f61b35bcf2e0686027c1f94c5b1ef5706ccea7d.zip | |
Merge pull request #4637 from dearblue/immutable-iseq
Prohibit changes to iseq in principle
Diffstat (limited to 'src/array.c')
| -rw-r--r-- | src/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/array.c b/src/array.c index 70e2fcab7..33baceb9c 100644 --- a/src/array.c +++ b/src/array.c @@ -1259,7 +1259,7 @@ mrb_ary_svalue(mrb_state *mrb, mrb_value ary) } } -static mrb_code each_iseq[] = { +static const mrb_code each_iseq[] = { OP_ENTER, 0x0, 0x00, 0x1, /* OP_ENTER 0:0:0:0:0:0:1 */ OP_JMPIF, 0x1, 0x0, 19, /* OP_JMPIF R1 19 */ OP_LOADSELF, 0x3, /* OP_LOADSELF R3 */ |
