Skip to content

Commit

Permalink
YJIT: Refactor side_exits
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyhmiller authored and XrXr committed Jan 19, 2023
1 parent 5ce0c13 commit bf3940a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 49 deletions.
1 change: 1 addition & 0 deletions yjit/src/backend/ir.rs
Expand Up @@ -271,6 +271,7 @@ impl Target
pub fn unwrap_code_ptr(&self) -> CodePtr {
match self {
Target::CodePtr(ptr) => *ptr,
Target::SideExitPtr(ptr) => *ptr,
_ => unreachable!("trying to unwrap {:?} into code ptr", self)
}
}
Expand Down

0 comments on commit bf3940a

Please sign in to comment.