aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Remove usage of global_default_temp_allocator_data when there is no default ↵Fabian Sperber2023-03-133-11/+17
| | | | allocator (freestanding, JS or --default-to-nil-allocator)
* Add booleans to `print_any_single`gingerBill2023-03-061-2/+8
|
* Merge branch 'master' into new-temp-allocatorgingerBill2023-02-284-34/+38
|\
| * Minor changes in `runtime`gingerBill2023-02-212-29/+31
| |
| * Remove debug stringgingerBill2023-02-171-1/+0
| |
| * Implement `@(fini)` (opposite of `@(init)`)gingerBill2023-02-152-5/+8
| |
* | Merge branch 'master' into new-temp-allocatorgingerBill2023-02-141-8/+5
|\|
| * Add `#optional_allocator_error` to `make_map`gingerBill2023-02-141-8/+5
| |
* | Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriategingerBill2023-02-101-6/+9
| |
* | Minor change to `arena_temp_end`gingerBill2023-02-101-1/+5
| |
* | Add `default_temp_allocator_temp_begin` and `default_temp_allocator_temp_end`gingerBill2023-02-101-0/+27
| |
* | Add `Arena_Temp`gingerBill2023-02-101-4/+77
| |
* | Remove unused variablegingerBill2023-02-101-1/+0
| |
* | Replace current default `context.temp_allocator` to use a growing arena ↵gingerBill2023-02-102-165/+237
|/ | | | rather than a ring buffer
* Rename to `Type_Info_Parameters`gingerBill2023-02-082-6/+8
|
* Correct `arena_temp_end` usage when no allocation ever happens for that arenagingerBill2023-01-281-0/+67
|
* Remove `auto_cast` procedure field flaggingerBill2023-01-161-2/+2
| | | | Fixes #2285
* Replaced opaque bit-shifts with readable constants for memory unitshikari2022-12-242-2/+8
|
* [runtime] Fix typo in shrink_dynamic_array()Tetralux2022-12-111-1/+1
|
* Keep `-vet` happydev-2022-12gingerBill2022-12-061-1/+1
|
* Coalesce tombstones on `delete_key` to reduce all map slots from being ↵gingerBill2022-12-061-7/+50
| | | | | | filled on insertion This is a bodge and will need to be replaced with an actual solution involving backward shift deletion rather than relying on tombstone slots in the first place.
* Change order of map_free_dynamic in usagegingerBill2022-11-291-4/+7
|
* Remove `panic`gingerBill2022-11-291-1/+1
|
* Treat `.Mode_Not_Implemented` as not an error when doing ↵gingerBill2022-11-291-11/+9
| | | | `runtime.map_free_dynamic`
* Correct `map_insert`gingerBill2022-11-141-4/+1
|
* Add @(require_results) to map procedures where possiblegingerBill2022-11-131-14/+36
|
* Simplify the handling of the hashing calls for `map`sgingerBill2022-11-131-74/+24
|
* Correct `map_reserve_dynamic` caused by an bizarre code generation buggingerBill2022-11-132-14/+20
|
* Correct json/unmarshal.odingingerBill2022-11-111-0/+6
|
* Begin work on map static setgingerBill2022-11-111-3/+1
|
* Make `map` get internal calls take the hash value rather than compute it ↵gingerBill2022-11-111-12/+9
| | | | internally
* Change `map_reserve_dynamic` no do anything when current capacity is greater ↵gingerBill2022-11-112-2/+4
| | | | than specified for the reserve
* Get deleted key and value for `delete_key`gingerBill2022-11-112-5/+15
|
* Correct static map get; make get take a pointer to simplify compiler internalsgingerBill2022-11-101-11/+10
|
* Unify reserve and grow codegingerBill2022-11-101-44/+3
|
* Make `map_alloc_dynamic` handle the `nil_allocator()`gingerBill2022-11-101-0/+4
|
* Correct logic for `__dynamic_map_set`gingerBill2022-11-091-20/+32
|
* Swap hashesgingerBill2022-11-091-6/+4
|
* Rewrite `map_insert_hash_dynamic`gingerBill2022-11-091-38/+28
|
* Use `mem_resize` where possiblegingerBill2022-11-091-17/+3
|
* Inline `__dynamic_map_set` code where possiblegingerBill2022-11-081-23/+17
|
* Check for existence before settinggingerBill2022-11-081-21/+8
| | | | Test code
* Do an extra check before insertion for pre-existing keysgingerBill2022-11-081-17/+32
| | | | This is test code
* Correct `map_insert_hash_dynamic` and `map_insert_dynamic`gingerBill2022-11-081-88/+5
|
* Fix bug with allocator not getting set on a `map`gingerBill2022-11-082-42/+27
|
* Make `map_free_dynamic` take the total size of the allocationgingerBill2022-11-082-23/+30
|
* Minor change to `map_cell_index_static`gingerBill2022-11-081-9/+9
|
* Allow for `-use-static-map-calls` which generates a get procedure per `map`; ↵gingerBill2022-11-081-9/+95
| | | | add `runtime.map_get`
* Change `__dynamic_map_get` signaturegingerBill2022-11-081-85/+88
|
* Change `Raw_Map.len` to `int` from `uintptr`gingerBill2022-11-082-3/+3
|