aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix #no_nil in debug infodev-2025-01Laytan Laats2025-01-081-5/+4
| | | | Fixes #4664
* Merge pull request #4601 from Barinzaya/simd_vector_broadcastinggingerBill2025-01-061-0/+20
|\ | | | | Implicit broadcasting for SIMD arrays
| * Added some implicit broadcasting for #simd arrays.Barinzaya2024-12-191-0/+20
| | | | | | | | | | | | This covers broadcasting from untyped numbers when assigning, as well as when performing binary operations. SIMD intrinsics have not been adjusted
* | Allow `#+` tags on single filesgingerBill2025-01-051-6/+4
| |
* | Make `-no-dynamic-literals` the default nowgingerBill2025-01-057-30/+43
| |
* | Add `#+feature dynamic-literals`gingerBill2025-01-054-2/+88
| |
* | Merge pull request #4611 from tf2spi/4491-max-field-align-packgingerBill2025-01-013-4/+35
|\ \ | | | | | | Add packing + aligned access w/ field_align
| * | Pack struct when needed, use field_align metadatamisomosi2024-12-223-4/+35
| |/
* | Merge pull request #4616 from flga/mastergingerBill2025-01-011-2/+2
|\ \ | | | | | | make -export-dependencies emit valid json
| * | make -export-dependencies:json emit valid jsonfleandro2024-12-231-2/+2
| |/
* | Merge pull request #4608 from zen3ger/assignment-of-non-specialized-parapolygingerBill2025-01-011-4/+6
|\ \ | | | | | | Fix crash on assignment of parapoly proc to variable
| * | Fix crash on assignment of parapoly proc to variableRoland Kovacs2024-12-221-4/+6
| |/
* | Merge pull request #4607 from zen3ger/parapoly-proc-fixesgingerBill2025-01-012-1/+9
|\ \ | | | | | | Fix crash when proc return type is undeclared parapoly variable
| * | Fix crash when proc return type is undeclared parapoly variableRoland Kovacs2024-12-222-1/+9
| |/ | | | | | | | | | | | | | | Disallow the declaration of new parapoly variables in return types, when the procedure's parapoly scope is itself. This happens if e.g.: `foo :: proc() -> $T`. Closes #3949, #4294, #4563
* | Add `#branch_location`gingerBill2025-01-017-38/+89
| |
* | Support multiple paths for wasm in `foreign import`gingerBill2025-01-013-46/+77
|/
* Fix bug with comparisons with big endian typesgingerBill2024-12-121-0/+19
|
* compiler: remove viral `#force(_no)_inline`Laytan Laats2024-12-091-4/+0
| | | | | | | | | | | | | If a procedure was marked `#force_no_inline`, any procedure calls within it would also implicitly be. This is not expected for multiple reasons: 1. `#force(_no)_inline` on a call expr works differently than on a procedure literal. 2. Adding the attribute on it and every called proc blows up the amount of work for the inliner pass and may increase the time it takes. 3. Putting `#force_no_inline` on a procedure to keep executable size down (like we do for some map procedures), benchmark it, or find it in asm/ir has the added effect of slowing those procedures down significantly and not representing truth.
* fix #4547 - wasm -out without file extensionLaytan Laats2024-12-061-1/+1
|
* Fix #4552gingerBill2024-12-051-0/+1
|
* Try to fix #4553gingerBill2024-12-051-1/+1
|
* Fix #4561gingerBill2024-12-051-0/+1
|
* ABI change: for indirect parameters size_of <= 16, do callee stack copygingerBill2024-12-053-0/+25
|
* Minor improvement to type handing on failuresgingerBill2024-12-021-12/+14
|
* Fix #4535gingerBill2024-12-021-1/+5
|
* Fix #4530gingerBill2024-12-022-6/+10
|
* Fix assert when return value expected.Jeroen van Rijn2024-11-281-2/+2
|
* Merge pull request #4440 from 0dminnimda/support_llvm19gingerBill2024-11-273-5/+17
|\ | | | | Add support for llvm version 19
| * src/main.cpp: apply suggestion0dminnimda2024-11-021-1/+1
| | | | | | Co-authored-by: Laytan <laytanlaats@hotmail.com>
| * Update version in more places0dminnimda2024-11-021-2/+2
| |
| * Add support for llvm version 190dminnimda2024-10-312-3/+15
| |
* | properly keep track of current scope for debuggingLaytan Laats2024-11-271-0/+6
| | | | | | | | Fixes #4519
* | Check `type_expr` in `check_procedure_param_polymorphic_type`Jeroen van Rijn2024-11-271-2/+1
| | | | | | | | Fixes #4523 assert.
* | sys/info & odin report: rework macos version retrievalLaytan Laats2024-11-261-456/+42
| |
* | add macos 15.1.1 to odin report and sys/infoLaytan Laats2024-11-261-0/+2
| |
* | Convert mutex guard to "try lock"gingerBill2024-11-261-7/+9
| |
* | Fix #4508 for abs, min, max (#4516)Jeroen van Rijn2024-11-251-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix #4508 for abs, min, max and the rest of the builtins. None of these segfault now: ```odin package bug main :: proc() { p :: proc() {} // _ = len(p()) // _ = cap(p()) // _ = size_of(p()) // _ = align_of(p()) // T :: struct {} // _ = offset_of(p()) // _ = offset_of(T, p()) // _ = offset_of(p(), foo) // _ = offset_of(p(), "") // _ = type_of(p()) // _ = type_info_of(p()) // _ = typeid_of(p()) // A: [4]int // _ = swizzle(p()) // :: proc(x: [N]T, indices: ..int) -> [len(indices)]T --- // _ = swizzle(A, p()) // :: proc(x: [N]T, indices: ..int) -> [len(indices)]T --- // _ = complex(p(), p()) // _ = quaternion(p(), p(), p(), p()) // _ = quaternion(w=p(), x=p(), y=p(), z=p()) // _ = real(p()) // _ = imag(p()) // _ = jmag(p()) // _ = kmag(p()) // _ = conj(p()) // _ = expand_values(p()) // _ = min(p()) // _ = max(p()) // _ = abs(p()) // _ = clamp(p(), p(), p()) // _ = soa_zip(p()) // _ = soa_unzip(p()) } ```
* | Allow for `odin help build` etcgingerBill2024-11-251-1/+7
| |
* | checker: only error with -vet-cast when it is actually castableLaytan Laats2024-11-211-1/+4
| |
* | Improve `odin help -foo` usagegingerBill2024-11-181-351/+380
| |
* | report error when builtin min/max has 1 (non-type) paramjakubtomsu2024-11-171-0/+9
| |
* | add missing macos versionLaytan Laats2024-11-161-0/+15
| |
* | Make lowercasegingerBill2024-11-141-1/+1
| |
* | Fix typogingerBill2024-11-141-1/+1
| |
* | Add `-linker:<string>` to replace `-lld` and `-radlink`gingerBill2024-11-143-20/+70
| |
* | Disallow `-lld` and `-radlink` to be used togethergingerBill2024-11-141-0/+8
| |
* | Add `-radlink`gingerBill2024-11-143-21/+52
| |
* | Remove `#relative` types from the compilergingerBill2024-11-1412-463/+4
| |
* | Make `#relative` types an error in parsinggingerBill2024-11-141-0/+1
| |
* | Keep ASAN happy on type assertionsgingerBill2024-11-131-2/+10
| |