diff options
author | Jimmy Miller <jimmy.miller@shopify.com> | 2022-10-18 14:19:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 14:19:41 -0400 |
commit | b2ba71df9efd2e484cce955a398f2894702c7de0 (patch) | |
tree | be98d1904990365f472195d5676475d9ab8420ff /yjit/src/invariants.rs | |
parent | e7166c9bb78e20531a9cbb372e460ecd12603b5e (diff) | |
download | ruby-b2ba71df9efd2e484cce955a398f2894702c7de0.tar.gz |
Code clean around unused code for some architectures or features (#6581)
Diffstat (limited to 'yjit/src/invariants.rs')
-rw-r--r-- | yjit/src/invariants.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/invariants.rs b/yjit/src/invariants.rs index 3ca57b4943..0d8577924c 100644 --- a/yjit/src/invariants.rs +++ b/yjit/src/invariants.rs @@ -533,7 +533,7 @@ pub extern "C" fn rb_yjit_tracing_invalidate_all() { with_vm_lock(src_loc!(), || { // Make it so all live block versions are no longer valid branch targets for_each_iseq(|iseq| { - if let Some(payload) = unsafe { get_iseq_payload(iseq) } { + if let Some(payload) = get_iseq_payload(iseq) { // C comment: // Leaking the blocks for now since we might have situations where // a different ractor is waiting for the VM lock in branch_stub_hit(). |