ZJIT: Temporarily revert path compression
For reasons I don't understand yet, this causes an issue when trying to boot yjit-bench. Temporarily revert it.
This commit is contained in:
parent
f3006c26de
commit
5e53484994
Notes:
git
2025-05-08 12:22:56 +00:00
Merged: https://github.com/ruby/ruby/pull/13268 Merged-By: XrXr
@ -752,7 +752,9 @@ impl Function {
|
||||
macro_rules! find {
|
||||
( $x:expr ) => {
|
||||
{
|
||||
self.union_find.borrow_mut().find($x)
|
||||
// TODO(max): Figure out why borrow_mut().find() causes `already borrowed:
|
||||
// BorrowMutError`
|
||||
self.union_find.borrow().find_const($x)
|
||||
}
|
||||
};
|
||||
}
|
||||
@ -773,7 +775,7 @@ impl Function {
|
||||
}
|
||||
};
|
||||
}
|
||||
let insn_id = self.union_find.borrow_mut().find(insn_id);
|
||||
let insn_id = find!(insn_id);
|
||||
use Insn::*;
|
||||
match &self.insns[insn_id.0] {
|
||||
result@(PutSelf | Const {..} | Param {..} | GetConstantPath {..}
|
||||
|
Loading…
x
Reference in New Issue
Block a user