Remove test code

This commit is contained in:
gingerBill
2021-05-03 20:03:37 +01:00
parent d76ba7895b
commit 5d70289b69
-12
View File
@@ -14107,20 +14107,8 @@ lbProcedure *lb_create_main_procedure(lbModule *m, lbProcedure *startup_runtime)
lb_fill_slice(p, args, argv, argc);
}
{
auto args = array_make<lbValue>(permanent_allocator(), 1);
args[0] = lb_const_string(p->module, str_lit("Here0\n"));
lb_emit_runtime_call(p, "print_string", args);
}
LLVMBuildCall2(p->builder, LLVMGetElementType(lb_type(m, startup_runtime->type)), startup_runtime->value, nullptr, 0, "");
{
auto args = array_make<lbValue>(permanent_allocator(), 1);
args[0] = lb_const_string(p->module, str_lit("Here1\n"));
lb_emit_runtime_call(p, "print_string", args);
}
if (build_context.command_kind == Command_test) {
Type *t_Internal_Test = find_type_in_pkg(m->info, str_lit("testing"), str_lit("Internal_Test"));
Type *array_type = alloc_type_array(t_Internal_Test, m->info->testing_procedures.count);