More work on TB

This commit is contained in:
Christoffer Lerno
2023-01-19 20:32:19 +01:00
parent 1ab304dc64
commit 92507ee388
10 changed files with 1119 additions and 27 deletions

View File

@@ -5352,7 +5352,6 @@ static inline void llvm_emit_return_block(GenContext *c, BEValue *be_value, Type
}
LLVMValueRef old_ret_out = c->return_out;
c->in_block++;
LLVMValueRef error_out = c->opt_var;
LLVMBasicBlockRef error_block = c->catch_block;
@@ -5446,7 +5445,6 @@ DONE:
c->return_out = old_ret_out;
c->catch_block = error_block;
c->opt_var = error_out;
c->in_block--;
}