aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix futex error handlingColin Davidson2023-01-051-0/+2
|
* Merge pull request #2280 from DragosPopse/mastergingerBill2023-01-012-0/+22
|\ | | | | Fixed empty output_path.name when building a folder with no subfolders
| * Merge branch 'odin-lang:master' into masterDragos Popescu2022-12-262-3/+3
| |\
| * | Patched empty output_path.name when building a folderDragos2022-12-262-0/+22
| | |
* | | Merge pull request #2283 from colrdavidson/threadpool-swapgingerBill2023-01-013-162/+366
|\ \ \ | | | | | | | | move to work-stealing threadpool
| * | | rework openbsd futexes a littleColin Davidson2022-12-291-6/+13
| | | |
| * | | cover openbsd tooColin Davidson2022-12-291-0/+34
| | | |
| * | | oops if->elifColin Davidson2022-12-291-1/+1
| | | |
| * | | add freebsd supportColin Davidson2022-12-291-0/+31
| | | |
| * | | fix ulock/uwait importsColin Davidson2022-12-281-2/+2
| | | |
| * | | fix buildColin Davidson2022-12-281-1/+1
| | | |
| * | | move to work-stealing threadpoolColin Davidson2022-12-283-162/+294
| | | |
* | | | Merge branch 'master' into compiler-improvements-2022-12gingerBill2023-01-011-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | fixup are_types_identical for comparing procs and checking if parameter ↵Phil2022-12-291-2/+2
| | |/ | |/| | | | | | | names differ
* | | Remove a few `TODO`sgingerBill2022-12-225-24/+7
| | |
* | | Remove need the MPMC in single threaded casegingerBill2022-12-223-13/+14
| | |
* | | Clean up mutex usage in the parsergingerBill2022-12-222-54/+59
| | |
* | | Add minor commentgingerBill2022-12-221-2/+2
| | |
* | | Revert "Change `tav` to be a pointer internally"gingerBill2022-12-2211-140/+133
| | | | | | | | | | | | This reverts commit e98f1a28e68e82753728f58b3465793192b74f9d.
* | | Change `tav` to be a pointer internallygingerBill2022-12-2211-133/+140
| | |
* | | Merge branch 'master' into compiler-improvements-2022-12gingerBill2022-12-212-3/+3
|\| |
| * | Change the order of the args and ret for Arm64 ABIgingerBill2022-12-211-1/+1
| | |
| * | Enable -out:<filepath> for build and runs with the attribute @(test)Thomas Stibor2022-12-141-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the odin help command $ odin help test ... -out:<filepath> Set the file name of the outputted executable Example: -out:foo.exe building and running tests the executable output filepath shall be specified. However, the -out parameter is disabled, resulting in error message: Unknown flag for 'odin test': 'out' 'out' is supported with the following commands: run, build Omitting the -out parameter results in default filepath '01.bin' (on Linux). However, it is desirable for user specifying the output filepath, e.g. by using this Makefile snippet: TARGET=main FLAGS=-warnings-as-errors -verbose-errors all: run run: @odin run . $(FLAGS) -out:$(TARGET) test: @odin test . $(FLAGS) -out:$(TARGET) clean: @rm -f $(TARGET) In addition a typo is fixed.
* | Correct `type_ptr_set_update` and `type_ptr_set_exists`gingerBill2022-12-201-0/+8
| |
* | Set the file's filename and directory in `init_ast_file`gingerBill2022-12-203-7/+11
| |
* | Move `mutex` use around in thread poolgingerBill2022-12-201-4/+3
| |
* | Use `*_set_update` where possiblegingerBill2022-12-206-39/+32
| |
* | Combine join and destroy for threadsgingerBill2022-12-202-15/+4
| |
* | Remove need for `semaphore` in `Thread`gingerBill2022-12-202-33/+15
| |
* | Clarify ThreadPool interface; Move `import_mutex` guarding to just the ↵gingerBill2022-12-202-8/+18
| | | | | | | | string set
* | Fix minor race conditiongingerBill2022-12-192-10/+43
| |
* | Use `usize` for bounds checking in `Array` and `Slice` (compiler)gingerBill2022-12-181-4/+4
| |
* | Use `fetch_add` rather than `+=`gingerBill2022-12-182-3/+3
| |
* | Add missing `gb_internal`gingerBill2022-12-181-1/+1
| |
* | Add `gb_internal` to path proceduresgingerBill2022-12-181-15/+15
| |
* | Remove dead code in the compilergingerBill2022-12-1827-1661/+168
| |
* | `gb_internal` LLVM backendgingerBill2022-12-1812-628/+627
| |
* | `gb_internal` to docs and other auxiliary filesgingerBill2022-12-185-76/+75
| |
* | Add `gb_internal` to checkergingerBill2022-12-187-468/+466
| |
* | Even more `gb_internal` everywheregingerBill2022-12-184-286/+286
| |
* | `gb_internal` a lotgingerBill2022-12-1825-1141/+1091
| |
* | Use C++11 loops for some arraysgingerBill2022-12-091-46/+39
| |
* | Fix map loopinggingerBill2022-12-091-9/+9
| |
* | Add extra checkgingerBill2022-12-091-0/+2
| |
* | Fix variable shadow in compilergingerBill2022-12-091-3/+3
| |
* | Replace compiler for loops for the hash-table types to simplify code usagegingerBill2022-12-0918-209/+269
|/
* Initialize the multiple return value map in `lb_create_dummy_procedure`gingerBill2022-12-071-0/+1
|
* Merge pull request #2208 from odin-lang/multiple-return-abi-experimentgingerBill2022-12-0712-244/+539
|\ | | | | Multiple Return ABI Changes and Improvements
| * Naïve optimization of named _split_ multiple return valued when `defer` is ↵gingerBill2022-11-259-17/+84
| | | | | | | | | | | | | | | | | | | | never used This is a naïve optimization but it helps a lot in the general case where callee temporary stack variables are not allocated to represent the named return values by using that specific memory. In the future, try to check if a specific named return value is ever used a `defer` within a procedure or not, or is ever passed to a nested procedure call (e.g. possibly escapes).
| * Correct return ptr semantics for split returnsgingerBill2022-11-241-1/+8
| |