Skip to content

Commit

Permalink
Use structured LIR for Unreachable
Browse files Browse the repository at this point in the history
Summary: Replace `kUnreachable` with structured LIR

Reviewed By: alexmalyshev

Differential Revision: D52000719

fbshipit-source-id: d98f57b8fe89fcf92eadb1a7efa803593fce1eb7
  • Loading branch information
DinoV authored and facebook-github-bot committed Jan 3, 2024
1 parent c5f3e1d commit 5e852e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CinderX/Jit/lir/generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ LIRGenerator::TranslatedBlock LIRGenerator::TranslateOneBasicBlock(
break;
}
case Opcode::kUnreachable: {
bbb.AppendCode("Unreachable");
bbb.appendInstr(Instruction::kUnreachable);
break;
}
case Opcode::kDeoptPatchpoint: {
Expand Down

0 comments on commit 5e852e8

Please sign in to comment.