diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-10-26 01:58:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 01:58:01 +0900 |
commit | 09fa773e04f183e5eb685f07e174efa2cf77f9dc (patch) | |
tree | 43b58901056217443ddfcee79decd2a9c71596cc /internal | |
parent | 33113c6b64b9017e8b31b6c5e9cbcd7bdf30f05a (diff) |
ast.c: Use kept script_lines data instead of re-opening the source file (#5019)
ast.c: Use kept script_lines data instead of re-open the source file
Notes
Notes:
Merged-By: mame <mame@ruby-lang.org>
Diffstat (limited to 'internal')
-rw-r--r-- | internal/vm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/vm.h b/internal/vm.h index 8893d70cd4..e902a81411 100644 --- a/internal/vm.h +++ b/internal/vm.h @@ -111,7 +111,7 @@ VALUE rb_backtrace_to_str_ary(VALUE obj); VALUE rb_backtrace_to_location_ary(VALUE obj); void rb_backtrace_each(VALUE (*iter)(VALUE recv, VALUE str), VALUE output); int rb_frame_info_p(VALUE obj); -void rb_frame_info_get(VALUE obj, VALUE *path, int *node_id); +void rb_frame_info_get(VALUE obj, VALUE *path, VALUE *script_lines, int *node_id); MJIT_SYMBOL_EXPORT_BEGIN VALUE rb_ec_backtrace_object(const struct rb_execution_context_struct *ec); |