aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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