diff options
| author | dearblue <[email protected]> | 2019-08-18 14:45:35 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2019-08-18 15:00:32 +0900 |
| commit | 279c21b816777b8b25457b27fd1994a9fe359a98 (patch) | |
| tree | b34cd6e85842f4fb96b4b596bf5a7c1e554bc0ca /src/array.c | |
| parent | 83dab1ee0d0d3aa76e44f7fbf14360ee501be151 (diff) | |
| download | mruby-279c21b816777b8b25457b27fd1994a9fe359a98.tar.gz mruby-279c21b816777b8b25457b27fd1994a9fe359a98.zip | |
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 */ |
