summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-27 08:06:58 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-27 08:06:58 (GMT)
commit2ce7328deadd0874a5c609a6d6cc19a161ec9949 (patch)
tree73058bee79383d2ec9906c516e0717336ff927e8 /compile.c
parentcaada48ee823871ee85a5b1096a9f7ca6815eef5 (diff)
id.def: internal IDs
* defs/id.def: move internal IDs for frozen-string-literal-debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index a584e97..ba5f5be 100644
--- a/compile.c
+++ b/compile.c
@@ -5116,8 +5116,8 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
}
else {
VALUE str = rb_str_dup(node->nd_lit);
- rb_iv_set(str, "__object_created_path__", iseq->body->location.path);
- rb_iv_set(str, "__object_created_line__", INT2FIX(line));
+ rb_ivar_set(str, id_debug_created_path, iseq->body->location.path);
+ rb_ivar_set(str, id_debug_created_line, INT2FIX(line));
ADD_INSN1(ret, line, putobject, rb_obj_freeze(str));
}
}