Skip to content

Commit

Permalink
Implement two todo! cases in dup_and_remap_vars().
Browse files Browse the repository at this point in the history
Fixes #1572.
  • Loading branch information
vext01 committed Jan 29, 2025
1 parent 3dc428a commit 9a4c58e
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 9a4c58e

Please sign in to comment.