diff options
| author | gingerBill <bill@gingerbill.org> | 2023-09-11 23:36:39 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-09-11 23:36:39 +0100 |
| commit | 984a95b8c76cc5a42b401d9a1761c52ede344754 (patch) | |
| tree | 66c8d4cfbe1bb57bb12de9776fd10af3673b9f88 /src/tilde_builtin.cpp | |
| parent | 72118fcc6ac4e03710cc32659d7978a7496ea027 (diff) | |
Update Tilde
Diffstat (limited to 'src/tilde_builtin.cpp')
| -rw-r--r-- | src/tilde_builtin.cpp | 6 |
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; } |