aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-05-03 20:03:37 +0100
committergingerBill <bill@gingerbill.org>2021-05-03 20:03:37 +0100
commit5d70289b69ec96c4159105206897519407f02189 (patch)
treefb51f9e8f078f443c55e8bd3a7cabb605f38541d /src/llvm_backend.cpp
parentd76ba7895b98edd8ad5898937850e20e27706684 (diff)
Remove test code
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp12
1 files changed, 0 insertions, 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<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);