diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-04-30 18:54:46 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-07 17:02:15 +0900 |
commit | ff69ef27b06eed1ba750e7d9cab8322f351ed245 (patch) | |
tree | 84af4f4f8d99cc6a2af030230cf520e14862982b /vm_method.c | |
parent | 578e6416e71bcd5401bba63e9f3ef25a28258d9a (diff) | |
download | ruby-ff69ef27b06eed1ba750e7d9cab8322f351ed245.tar.gz |
compile.c: Pass node instead of nd_line(node) to ADD_INSN* functions
... then, new_insn_core extracts nd_line(node).
Also, if a macro "EXPERIMENTAL_ISEQ_NODE_ID" is defined, this changeset
keeps nd_node_id(node) for each instruction. This is intended for
TypeProf to identify what AST::Node corresponds to each instruction.
This patch is originally authored by @yui-knk for showing which column a
NoMethodError occurred.
https://github.com/ruby/ruby/compare/master...yui-knk:feature/node_id
Co-Authored-By: Yuichiro Kaneko <yui-knk@ruby-lang.org>
Diffstat (limited to 'vm_method.c')
0 files changed, 0 insertions, 0 deletions