aboutsummaryrefslogtreecommitdiff
path: root/src/tilde_builtin.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-09-19 15:13:10 +0100
committergingerBill <bill@gingerbill.org>2023-09-19 15:13:10 +0100
commit8a13c9a8c84f4e1ca297e7963880691f110843a2 (patch)
tree279943b86ad8e4a094907c8a803acca8a7c4e9b6 /src/tilde_builtin.cpp
parentb7560b7e00aaad7ef696b5ce55460f8e35ebf135 (diff)
parentecde06e3a31179bd8f86383fd65cfbce31ab6d9a (diff)
Merge branch 'master' into windows-llvm-13.0.0windows-llvm-13.0.0
Diffstat (limited to 'src/tilde_builtin.cpp')
-rw-r--r--src/tilde_builtin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tilde_builtin.cpp b/src/tilde_builtin.cpp
index 012e2c1b9..3b4e4f900 100644
--- a/src/tilde_builtin.cpp
+++ b/src/tilde_builtin.cpp
@@ -230,7 +230,7 @@ gb_internal cgValue cg_builtin_clamp(cgProcedure *p, Type *t, cgValue const &x,
gb_internal cgValue cg_builtin_mem_zero(cgProcedure *p, cgValue const &ptr, cgValue const &len) {
GB_ASSERT(ptr.kind == cgValue_Value);
GB_ASSERT(len.kind == cgValue_Value);
- tb_inst_memzero(p->func, ptr.node, len.node, 1, false);
+ tb_inst_memzero(p->func, ptr.node, len.node, 1);
return ptr;
}
@@ -239,7 +239,7 @@ gb_internal cgValue cg_builtin_mem_copy(cgProcedure *p, cgValue const &dst, cgVa
GB_ASSERT(src.kind == cgValue_Value);
GB_ASSERT(len.kind == cgValue_Value);
// TODO(bill): This needs to be memmove
- tb_inst_memcpy(p->func, dst.node, src.node, len.node, 1, false);
+ tb_inst_memcpy(p->func, dst.node, src.node, len.node, 1);
return dst;
}
@@ -247,7 +247,7 @@ gb_internal cgValue cg_builtin_mem_copy_non_overlapping(cgProcedure *p, cgValue
GB_ASSERT(dst.kind == cgValue_Value);
GB_ASSERT(src.kind == cgValue_Value);
GB_ASSERT(len.kind == cgValue_Value);
- tb_inst_memcpy(p->func, dst.node, src.node, len.node, 1, false);
+ tb_inst_memcpy(p->func, dst.node, src.node, len.node, 1);
return dst;
}