Created
December 9, 2012 05:55
-
-
Save wanabe/4243515 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: compile.c | |
| =================================================================== | |
| --- compile.c (revision 38278) | |
| +++ compile.c (working copy) | |
| @@ -4981,8 +4981,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) | |
| RSTRING_PTR(iseq->location.label), (void *)iseq, | |
| iseq->compile_data->flip_cnt++); | |
| - hide_obj(key); | |
| - iseq_add_mark_object_compile_time(iseq, key); | |
| + key = ID2SYM(rb_intern_str(key)); | |
| ADD_INSN2(ret, nd_line(node), getspecial, key, INT2FIX(0)); | |
| ADD_INSNL(ret, nd_line(node), branchif, lend); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment