diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-16 15:30:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 15:30:29 -0800 |
commit | 6de4032e407b5e4bcf837332b9980a5892282df8 (patch) | |
tree | c29bfdfbbd3b7109d55da90062cf2172f8df2d9f /yjit/src/invariants.rs | |
parent | 3eb7a6521ce08eb3758e63575a90b66a3ea10717 (diff) | |
download | ruby-6de4032e407b5e4bcf837332b9980a5892282df8.tar.gz |
YJIT: Stop wrapping CmePtr with CmeDependency (#6747)
* YJIT: Stop wrapping CmePtr with CmeDependency
* YJIT: Fix an outdated comment [ci skip]
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 e2db8f36b5..b911ff2c92 100644 --- a/yjit/src/invariants.rs +++ b/yjit/src/invariants.rs @@ -355,7 +355,7 @@ pub fn block_assumptions_free(blockref: &BlockRef) { // For each method lookup dependency for dep in block.iter_cme_deps() { // Remove tracking for cme validity - if let Some(blockset) = invariants.cme_validity.get_mut(&dep.callee_cme) { + if let Some(blockset) = invariants.cme_validity.get_mut(dep) { blockset.remove(blockref); } } |