aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
* Default to `panic` allocator for wasm targetsgingerBill2023-06-263-5/+53
|
* Use positional and named arguments within the core librarygingerBill2023-06-211-6/+6
|
* Make error checks diverging where possiblegingerBill2023-06-201-10/+10
|
* Rename `ODIN_DISALLOW_RTTI` to `ODIN_NO_RTTI`; Remove dead command line flagsgingerBill2023-06-123-4/+4
|
* Rename procsgingerBill2023-06-072-2/+2
|
* Merge branch 'master' into separate-int-word-sizesgingerBill2023-06-067-180/+385
|\
| * Merge pull request #2571 from jakubtomsu/builtin-soa-procs-improvementsgingerBill2023-06-061-46/+41
| |\ | | | | | | Update SOA dynamic array procs to match non-SOA
| | * Update SOA dynamic array procs to match non-SOAjakubtomsu2023-06-011-46/+41
| | |
| * | Add error requiring an explicit calling convention for foreign proceduresgingerBill2023-06-062-3/+3
| | |
| * | Fix `map_get` typogingerBill2023-06-061-1/+1
| |/
| * Add more documentation to numerous `@builtin` procedures in package runtimegingerBill2023-05-301-6/+110
| |
| * Add missing procedure for `#reverse` on stringsgingerBill2023-05-301-0/+36
| |
| * Merge pull request #2535 from jasonKercher/fix2515gingerBill2023-05-291-24/+89
| |\ | | | | | | Fix #2515 - Implement backward shift on `map` on insert and reseed hashes on resize
| | * add rehash to map_shrink_dynamicjason2023-05-171-0/+1
| | |
| | * implement random map seedjason2023-05-161-8/+34
| | |
| | * implement backward shift during map insertionjason2023-05-161-16/+54
| | |
| * | Improve error handling for `resize` and `reserve` proceduresgingerBill2023-05-221-68/+69
| | |
| * | Add require_results to make builtin proceduresgingerBill2023-05-223-33/+37
| | |
* | | Merge branch 'master' into separate-int-word-sizesgingerBill2023-05-182-2/+2
|\| |
| * | Merge pull request #2534 from Tetralux/fix-append-nothing-locgingerBill2023-05-181-1/+1
| |\ \ | | |/ | |/| [runtime] Pass along #caller_location in append_nothing()
| | * [runtime] Pass along #caller_location in append_nothing()Tetralux2023-05-121-1/+1
| | |
| * | add nil check to heap_alloc calls (issue 2530)jason2023-05-111-1/+1
| |/
* | Begin work on new pseudo-architecture: wasm64p32gingerBill2023-04-204-4/+4
| |
* | Begin work on separating int and word sizes (i.e. `size_of(int)` might not ↵gingerBill2023-04-202-4/+4
|/ | | | equal `size_of(uintptr)`)
* Fix again append on zero sized typesgingerBill2023-04-191-5/+5
|
* Fix missing cast in `array_elems`gingerBill2023-04-191-3/+5
|
* Add `struct #no_copy`gingerBill2023-04-151-0/+1
|
* 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
|