We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 357c3a1 commit e4e655cCopy full SHA for e4e655c
lib/patchestry/AST/OperationStmt.cpp
@@ -876,8 +876,7 @@ namespace patchestry::ast {
876
// Try to inline the target block body for has_exit cases.
877
// Requirements: block exists, has ordered ops, terminal op is BRANCH.
878
bool inlined = false;
879
- if (!function_builder().disable_switch_case_inline
880
- && sc.has_exit && function.basic_blocks.contains(sc.target_block)) {
+ if (sc.has_exit && function.basic_blocks.contains(sc.target_block)) {
881
const auto &tb = function.basic_blocks.at(sc.target_block);
882
if (!tb.ordered_operations.empty()) {
883
const auto &last_op_key = tb.ordered_operations.back();
0 commit comments