Browse Source

Remove test code

gingerBill 4 years ago
parent
commit
5d70289b69
1 changed files with 0 additions and 12 deletions
  1. 0 12
      src/llvm_backend.cpp

+ 0 - 12
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);
 		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);