gingerBill
|
96be494730
Fix `append_nothing`
|
před 3 roky |
gingerBill
|
ffa87f55c4
Add a return value to `append` that states the number of elements that were returned
|
před 3 roky |
Jeroen van Rijn
|
8c1dfabb6b
Fix `append` for size_of(E) == 0
|
před 3 roky |
gingerBill
|
659c3c528d
Update `delete` to pass size in bytes to free when possible
|
před 3 roky |
gingerBill
|
576914aee1
Make `unreachable()` a built-in compiler-level procedure
|
před 3 roky |
gingerBill
|
e0ecdd4b24
Simplify logic of `append` of zero sized elements
|
před 3 roky |
gingerBill
|
08f5259d77
Replace `insert_at` with `inject_at` and `assign_at`
|
před 3 roky |
gingerBill
|
670f18ad1b
Minor change to `shrink`
|
před 3 roky |
Tetralux
|
fa2296a124
[runtime] Add builtin `shrink` for dynamic arrays and maps
|
před 3 roky |
gingerBill
|
63d6c08d90
Add `raw_simd_data`
|
před 3 roky |
gingerBill
|
3ec70c5517
Merge functionality of `#maybe` with the standard 'union' functionality
|
před 3 roky |
gingerBill
|
8c1499dbc2
Make `raw_data` return `[^]T` types
|
před 3 roky |
gingerBill
|
be8de4a1ff
Update arch enum
|
před 3 roky |
gingerBill
|
9349dfba8f
Add new builtin `container_of`
|
před 3 roky |
Jeroen van Rijn
|
19dc84e300
Reinstate NBC.
|
před 3 roky |
Jeroen van Rijn
|
a932168f50
[runtime] fix `insert_at` procedure group.
|
před 3 roky |
gingerBill
|
d269dbcd40
Add comment for the internals of `assert`
|
před 3 roky |
gingerBill
|
f57201bbd1
Remove unneeded semicolons from the core library
|
před 4 roky |
gingerBill
|
251da264ed
Remove unneeded semicolons from the core library
|
před 4 roky |
gingerBill
|
a5c31bbee0
Add `map_insert` which returns the pointer to inserted value
|
před 4 roky |
gingerBill
|
81623861c0
Correct `mem.clone_slice`
|
před 4 roky |
gingerBill
|
4ccf135892
Unify `new`/`make` the internal logic between runtime and mem
|
před 4 roky |
gingerBill
|
445ed9be2b
Use multi-pointers when appropriate
|
před 4 roky |
gingerBill
|
f0437a4242
Enforce `core:builtin` and `core:intrinsics` for imports
|
před 4 roky |
gingerBill
|
7bbc9a4634
Add `#any_int` directive to replace `auto_cast` uses on parameters.
|
před 4 roky |
gingerBill
|
a4be1a5e4c
`delete_key` now returns the deleted key and deleted value (if found)
|
před 4 roky |
gingerBill
|
3e7aabe6d8
Change uses for parapoly records to use `$` always
|
před 4 roky |
gingerBill
|
f30e6f50bd
Reorganize code to improve code generation
|
před 4 roky |
gingerBill
|
46204ed7f0
Update core:runtime to use the new intrinsics
|
před 4 roky |
gingerBill
|
72aa0e6e38
Replace many `foreign` llvm calls with intrinsics
|
před 4 roky |