summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-26 07:23:35 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-26 07:23:35 +0000
commit9edb32dae72c2b45b524e9ca98650cd2b974fe22 (patch)
tree94e154c4f7745483c43398cd784bb629354b3bd5 /tool
parent2914522ffc39c22dfdccf5ad68162232c5cd0d35 (diff)
add #line [ci skip]
These erb files are in fact erb comments + plain C. Adding #line help us debug in case we have trouble there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/ruby_vm/views/_leaf_helpers.erb2
-rw-r--r--tool/ruby_vm/views/_sp_inc_helpers.erb2
2 files changed, 4 insertions, 0 deletions
diff --git a/tool/ruby_vm/views/_leaf_helpers.erb b/tool/ruby_vm/views/_leaf_helpers.erb
index 618fbd78db..2b59b7653b 100644
--- a/tool/ruby_vm/views/_leaf_helpers.erb
+++ b/tool/ruby_vm/views/_leaf_helpers.erb
@@ -6,6 +6,7 @@
%# conditions mentioned in the file COPYING are met. Consult the file for
%# details.
%;
+#line <%= __LINE__ + 1 %> <%=cstr __FILE__ %>
static bool
leafness_of_getglobal(VALUE gentry)
@@ -103,3 +104,4 @@ leafness_of_checkmatch(rb_num_t flag)
return false;
}
}
+#pragma RubyVM reset source
diff --git a/tool/ruby_vm/views/_sp_inc_helpers.erb b/tool/ruby_vm/views/_sp_inc_helpers.erb
index f979064a5f..fc10b7d61d 100644
--- a/tool/ruby_vm/views/_sp_inc_helpers.erb
+++ b/tool/ruby_vm/views/_sp_inc_helpers.erb
@@ -6,6 +6,7 @@
%# conditions mentioned in the file COPYING are met. Consult the file for
%# details.
%;
+#line <%= __LINE__ + 1 %> <%=cstr __FILE__ %>
static rb_snum_t
sp_inc_of_sendish(const struct rb_call_info *ci)
@@ -33,3 +34,4 @@ sp_inc_of_invokeblock(const struct rb_call_info *ci)
* instructions, except that it does not pop receriver. */
return sp_inc_of_sendish(ci) + 1;
}
+#pragma RubyVM reset source