Don't increment code_index
`code_index` doesn't need to be incremented since the mark array has been removed. Thanks for the patch ko1! [ruby-core:90456] [Bug #15406] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
31dc65b275
commit
589042c063
@ -8786,7 +8786,6 @@ ibf_load_code(const struct ibf_load *load, const rb_iseq_t *iseq, const struct r
|
|||||||
/* code[code_index] = op; */
|
/* code[code_index] = op; */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
load_body->iseq_size = code_index + 1;
|
|
||||||
}
|
}
|
||||||
if (insn_len(insn) != op_index+1) {
|
if (insn_len(insn) != op_index+1) {
|
||||||
rb_raise(rb_eRuntimeError, "operand size mismatch");
|
rb_raise(rb_eRuntimeError, "operand size mismatch");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user