move more tests to self-hosted land

This commit is contained in:
Andrew Kelley committed 2016-04-14 11:15:02 -07:00
1 parent 579856e502
commit 7f56e4ac16
3 files changed
+181 -294

No files matched your search

+1
View File
@@ -1228,6 +1228,7 @@ static LLVMValueRef gen_prefix_op_expr(CodeGen *g, AstNode *node) {
} else {
err_val = expr_val;
}
add_debug_source_node(g, node);
LLVMValueRef zero = LLVMConstNull(g->err_tag_type->type_ref);
LLVMValueRef cond_val = LLVMBuildICmp(g->builder, LLVMIntEQ, err_val, zero, "");
LLVMBasicBlockRef err_block = LLVMAppendBasicBlock(g->cur_fn->fn_value, "UnwrapErrError");