mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* compile.c (iseq_set_sequence): use "nop" insn instead of
"jump to next insn". https://bugs.ruby-lang.org/issues/8543#change-50085 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ef8c2e4be5
commit
f0071d3b31
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Nov 26 15:32:06 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* compile.c (iseq_set_sequence): use "nop" insn instead of
|
||||
"jump to next insn".
|
||||
https://bugs.ruby-lang.org/issues/8543#change-50085
|
||||
|
||||
Wed Nov 26 11:01:35 2014 Eric Wong <e@80x24.org>
|
||||
|
||||
* iseq.c (iseq_s_compile_file): close IO when done
|
||||
|
|
|
@ -1642,8 +1642,8 @@ iseq_set_sequence(rb_iseq_t *iseq, LINK_ANCHOR *anchor)
|
|||
line_info_table[k].position = pos;
|
||||
k++;
|
||||
}
|
||||
generated_iseq[pos++] = BIN(jump);
|
||||
generated_iseq[pos++] = 0;
|
||||
generated_iseq[pos++] = BIN(nop);
|
||||
generated_iseq[pos++] = BIN(nop);
|
||||
}
|
||||
else {
|
||||
rb_bug("iseq_set_sequence: adjust bug");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue