summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2026-04-08 17:40:15 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2026-04-08 17:44:00 -0400
commitaa7e671c50ef896e4d7fe4fed361874323bbb9b5 (patch)
treee4e2c8453cbe32adbe1348d9d61d46719022b4db
parent82470d8b9b4a5958b5358e3526316e2b9bd9adce (diff)
ZJIT: [DOC] induce_breakpoint! behaves differently when ZJIT is on
-rw-r--r--zjit.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/zjit.rb b/zjit.rb
index ffee000696..89a4a15cfd 100644
--- a/zjit.rb
+++ b/zjit.rb
@@ -58,8 +58,6 @@ class << RubyVM::ZJIT
# A directive for the compiler to emit a breakpoint instruction at the call site of this method.
# To show this to ZJIT, say `::RubyVM::ZJIT.induce_breakpoint!` verbatim.
# Other forms are too dynamic to detect during compilation.
- #
- # Actually running this method does nothing, whether ZJIT sees the call or not.
def induce_breakpoint! = nil
# Check if `--zjit-stats` is used