summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/hooks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ruby_vm/mjit/hooks.rb')
-rw-r--r--lib/ruby_vm/mjit/hooks.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ruby_vm/mjit/hooks.rb b/lib/ruby_vm/mjit/hooks.rb
index f3943504fd..477c4e0ae8 100644
--- a/lib/ruby_vm/mjit/hooks.rb
+++ b/lib/ruby_vm/mjit/hooks.rb
@@ -26,5 +26,9 @@ module RubyVM::MJIT
def self.on_tracing_invalidate_all(_new_iseq_events)
Invariants.on_tracing_invalidate_all
end
+
+ def self.on_update_references
+ Invariants.on_update_references
+ end
end
end