Remove optimisation (never happens across all tests)
This commit is contained in:
parent
577d403d14
commit
e95aed2b22
|
@ -1537,12 +1537,6 @@ fn jit_generate_module(
|
|||
let target_index_not_taken =
|
||||
*index_for_addr.get(&next_block_addr.unwrap()).unwrap();
|
||||
|
||||
if next_block_branch_taken_addr == next_block_addr {
|
||||
// weird case: both branch and non-branch jump to same address
|
||||
ctx.builder.const_i32(target_index_taken);
|
||||
ctx.builder.set_local(target_block);
|
||||
}
|
||||
else {
|
||||
codegen::gen_condition_fn(ctx, condition);
|
||||
ctx.builder.if_i32();
|
||||
ctx.builder.const_i32(target_index_taken);
|
||||
|
@ -1552,7 +1546,6 @@ fn jit_generate_module(
|
|||
ctx.builder.set_local(target_block);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if branch_taken_is_fallthrough {
|
||||
handle_case(Case::BranchNotTaken, true);
|
||||
handle_case(Case::BranchTaken, false);
|
||||
|
|
Loading…
Reference in a new issue