summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-09-30 16:58:46 +0900
committerKoichi Sasada <ko1@atdot.net>2021-10-21 16:17:39 +0900
commitc7550537f11dcf6450a9d3df3af3fa1f4fe05b15 (patch)
tree9b73c5b1be4e42f0aaf92e64b9c6041777666251 /common.mk
parent3b16d07e457264d7c171f8d1fcfaddb0dad90f57 (diff)
`RubyVM.keep_script_lines`
`RubyVM.keep_script_lines` enables to keep script lines for each ISeq and AST. This feature is for debugger/REPL support. ```ruby RubyVM.keep_script_lines = true RubyVM::keep_script_lines = true eval("def foo = nil\ndef bar = nil") pp RubyVM::InstructionSequence.of(method(:foo)).script_lines ```
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4913
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index bc0fd462ea..c703a6da48 100644
--- a/common.mk
+++ b/common.mk
@@ -7194,6 +7194,7 @@ iseq.$(OBJEXT): {$(VPATH)}node.h
iseq.$(OBJEXT): {$(VPATH)}node_name.inc
iseq.$(OBJEXT): {$(VPATH)}onigmo.h
iseq.$(OBJEXT): {$(VPATH)}oniguruma.h
+iseq.$(OBJEXT): {$(VPATH)}ractor.h
iseq.$(OBJEXT): {$(VPATH)}ruby_assert.h
iseq.$(OBJEXT): {$(VPATH)}ruby_atomic.h
iseq.$(OBJEXT): {$(VPATH)}st.h