mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Remove test code
This commit is contained in:
@@ -14107,20 +14107,8 @@ lbProcedure *lb_create_main_procedure(lbModule *m, lbProcedure *startup_runtime)
|
|||||||
lb_fill_slice(p, args, argv, argc);
|
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, "");
|
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) {
|
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 *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);
|
Type *array_type = alloc_type_array(t_Internal_Test, m->info->testing_procedures.count);
|
||||||
|
|||||||
Reference in New Issue
Block a user