Skip to content

Commit

Permalink
Merge pull request #1573 from vext01/more-dup-remap
Browse files Browse the repository at this point in the history
Implement two todo! cases in dup_and_remap_vars().
  • Loading branch information
ltratt authored Jan 29, 2025
2 parents 3dc428a + 9a4c58e commit 666e854
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ykrt/src/compile/jitc_yk/jit_ir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1853,6 +1853,13 @@ impl Inst {
dest_tyidx: *dest_tyidx,
}),
Inst::DebugStr(DebugStrInst { idx }) => Inst::DebugStr(DebugStrInst { idx: *idx }),
Inst::BitCast(BitCastInst { val, dest_tyidx }) => Inst::BitCast(BitCastInst {
val: mapper(m, val),
dest_tyidx: *dest_tyidx,
}),
Inst::FNeg(FNegInst { val }) => Inst::FNeg(FNegInst {
val: mapper(m, val),
}),
e => todo!("{:?}", e),
};
Ok(inst)
Expand Down

0 comments on commit 666e854

Please sign in to comment.