mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
YJIT: Spill/load argument registers to reuse blocks (#12287)
* YJIT: Spill/load argument registers to reuse blocks * Mention the immediate function name * Explain the context behind spill/load operations
This commit is contained in:
parent
93f8de777f
commit
cff031253f
Notes:
git
2024-12-09 18:02:58 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
3 changed files with 122 additions and 92 deletions
|
@ -1317,7 +1317,7 @@ impl Assembler
|
|||
}
|
||||
|
||||
/// Spill a stack temp from a register to the stack
|
||||
fn spill_reg(&mut self, opnd: Opnd) {
|
||||
pub fn spill_reg(&mut self, opnd: Opnd) {
|
||||
assert_ne!(self.ctx.get_reg_mapping().get_reg(opnd.reg_opnd()), None);
|
||||
|
||||
// Use different RegMappings for dest and src operands
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue