From f3dac884d3c7835a74762238f820f88b332d95c6 Mon Sep 17 00:00:00 2001
From: ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Fri, 20 Nov 2015 23:49:31 +0000
Subject: * compile.c (iseq_compile_each): add debug information to NODE_STR  
 strings as default.   [Feature #11725]

* insns.def (freezestring): add new instruction to support adding
  debug information for dynamically constracted strings.

* compile.c (iseq_compile_each): support adding debug information
  for NODE_DSTR with freezestring instruction.

* error.c (rb_error_frozen): change the debug information ID name
  id_debug_created_info and this field should have a 2 element array
  containing path and line information.

* defs/id.def: ditto.

* test/ruby/test_rubyoptions.rb: catch up this fix.

* test/ruby/test_iseq.rb: now frozen strings are not same.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 defs/id.def | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'defs/id.def')

diff --git a/defs/id.def b/defs/id.def
index 9d336b24a7..1ff0d9aa3d 100644
--- a/defs/id.def
+++ b/defs/id.def
@@ -61,8 +61,7 @@ firstline, predefined = __LINE__+1, %[\
   core#hash_merge_ptr
   core#hash_merge_kwd
 
-  -                                                     debug#created_path
-  -                                                     debug#created_line
+  -                                                     debug#created_info
 ]
 
 # VM ID         OP      Parser Token
-- 
cgit v1.2.3

