From 5d70289b69ec96c4159105206897519407f02189 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 3 May 2021 20:03:37 +0100 Subject: [PATCH] Remove test code --- src/llvm_backend.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index b98ef2ae5..e7026c4ef 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -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(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(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);