From 4ddb9d9fbccc134134869290f5d1754efd955ce4 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 28 Jan 2023 03:23:04 +0100 Subject: [PATCH] Fix tests. --- test/test_suite/stdlib/map.c3t | 4 ++-- test/test_suite14/stdlib/map.c3t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_suite/stdlib/map.c3t b/test/test_suite/stdlib/map.c3t index 824d0cd67..20a9072b4 100644 --- a/test/test_suite/stdlib/map.c3t +++ b/test/test_suite/stdlib/map.c3t @@ -65,7 +65,7 @@ entry: if.then: ; preds = %entry %1 = load ptr, ptr @std_core_mem_thread_allocator, align 8 - call void @"std_map$$typeid.p$std_io$ToStringFunction_HashMap_init"(ptr @std_io_tostring_functions, i32 512, float 7.500000e-01, ptr %1) + call void @"std_map$$typeid.p$std_io$ToStringFunction_HashMap_init"(ptr @std_io_tostring_functions, i32 br label %if.exit if.exit: ; preds = %if.then, %entry @@ -364,7 +364,7 @@ after_check67: ; preds = %if.then panic_block: ; preds = %assign_optional %81 = load ptr, ptr @std_core_builtin_panic, align 8 - call void %81(ptr @.panic_msg, + call void %81(ptr @.panic_msg, i64 27, ptr @.file, i64 6, ptr @.func, i64 4, i32 280) unreachable noerr_block: ; preds = %after_check67 diff --git a/test/test_suite14/stdlib/map.c3t b/test/test_suite14/stdlib/map.c3t index f6a1c81fb..e90aad3b5 100644 --- a/test/test_suite14/stdlib/map.c3t +++ b/test/test_suite14/stdlib/map.c3t @@ -66,7 +66,7 @@ entry: if.then: ; preds = %entry %1 = load %Allocator*, %Allocator** @std_core_mem_thread_allocator, align 8 - call void @"std_map$$typeid.p$std_io$ToStringFunction_HashMap_init"(%HashMap* @std_io_tostring_functions, i32 512, float 7.500000e-01, %Allocator* %1) + call void @"std_map$$typeid.p$std_io$ToStringFunction_HashMap_init"(%HashMap* @std_io_tostring_functions, i32 br label %if.exit if.exit: ; preds = %if.then, %entry @@ -508,7 +508,7 @@ after_check100: ; preds = %if.then panic_block: ; preds = %assign_optional %160 = load void (i8*, i64, i8*, i64, i8*, i64, i32)*, void (i8*, i64, i8*, i64, i8*, i64, i32)** @std_core_builtin_panic, align 8 - call void %160(i8* getelementptr inbounds + call void %160(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.panic_msg, i64 0, i64 0), i64 27, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.file, i64 0, i64 0), i64 6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.func, i64 0, i64 0), i64 4, i32 280) unreachable noerr_block: ; preds = %after_check100