aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add node data for union when using ↵gingerBill2022-09-272-1/+2
| | | | `intrinsics.type_convert_variants_to_pointers`
* Remove extra pointer indirectiongingerBill2022-09-271-2/+2
|
* Override lbArgKind to be indirect for `#by_ptr` parametersgingerBill2022-09-271-0/+11
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-09-221-2/+5
|\
| * fix target features to make wasm intrinsics happyColin Davidson2022-09-211-2/+5
| |
* | Make `intrinsics.{count_ones, count_zeros, count_trailing_zeros, ↵gingerBill2022-09-221-1/+85
|/ | | | count_leading_zeros}` work at compile time
* `cap(Enum)` (equivalent to `max(Enum)-min(Enum)+1`)gingerBill2022-09-221-10/+15
|
* Minor technical improvementgingerBill2022-09-221-2/+5
|
* Improve error message for slicing an enumerated arraygingerBill2022-09-221-1/+14
|
* Improve suggestions for certain assignmentsgingerBill2022-09-221-1/+13
|
* Minor style changegingerBill2022-09-221-3/+2
|
* Improve error message for `check_is_expressible` (Cannot convert X to Y from Z)gingerBill2022-09-221-3/+6
|
* Improve error messages for compile time known bounds checkinggingerBill2022-09-222-7/+8
|
* Clean up private internal constant global handlinggingerBill2022-09-223-21/+21
|
* Correct parapoly determination of generated internal type of a `map`gingerBill2022-09-227-9/+11
|
* Remove more dead code for map header stuffgingerBill2022-09-211-34/+8
|
* Remove header cache codegingerBill2022-09-213-31/+0
|
* Remove debug codegingerBill2022-09-211-4/+0
|
* Reduce unnecessary map getsgingerBill2022-09-215-44/+82
|
* Split header table data and the map pointergingerBill2022-09-213-35/+40
|
* Temporary patch for `lb_gen_map_header`gingerBill2022-09-211-39/+53
|
* Correct `get_fullpath_relative` to remove all trailing path separators (`/` ↵gingerBill2022-09-211-0/+9
| | | | and `\`)
* Improve parapoly support for `^T` to `[^]$V` and vice versagingerBill2022-09-202-0/+52
|
* Correct `lb_gen_map_header` initializationgingerBill2022-09-171-0/+2
|
* Use a cache when generating the map header to minimize stack wastagegingerBill2022-09-173-39/+51
|
* Change `__dynamic_map_get` and `__dynamic_map_set` to use separate ↵gingerBill2022-09-174-45/+35
| | | | parameters rather than take a singular struct
* Fixed #2044 Uninitialised constant struct member values can cause crashgingerBill2022-09-171-1/+7
| | | | | | | | | | | | | | Foo :: struct { x: i32, data: sa.Small_Array(10, i32), } defaultFoo :: Foo{ x = 1, // The 'data' value is not set! } fmt.println(defaultFoo.data) // caused the bug
* Fix #1435 type switch statements of empty union typesgingerBill2022-09-171-3/+14
|
* Improve error message for using `offset_of` within a struct itself of that ↵gingerBill2022-09-171-0/+15
| | | | struct
* Enforce constant pointer cast on global procedure variable initialization `x ↵gingerBill2022-09-171-0/+3
| | | | := proc() {}`
* Fix #2054 Differing behaviours with defer statements for single vs multiple ↵gingerBill2022-09-171-14/+7
| | | | return values caused by naïve ABI optimization
* Fix -verbose-error source lines from having last char cut offZac Nowicki2022-09-151-1/+0
| | | | Fixes #1226
* Clean up of the core library to make the stream vtables not be pointers ↵gingerBill2022-09-151-0/+3
| | | | directly.
* Revert "Just get the value directly and store it in another global variable"gingerBill2022-09-143-33/+8
| | | | This reverts commit 190c3ab0cdc031e45d450e64715452fb2e576d1e.
* Minor fix to `lb_big_int_to_llvm`gingerBill2022-09-141-1/+1
|
* Just get the value directly and store it in another global variablegingerBill2022-09-143-8/+33
| | | | | // global x := &Foo{}
* Fix `ODIN_BUILD_PROJECT_NAME`gingerBill2022-09-121-6/+6
|
* Fix debug generation for named resultsgingerBill2022-09-121-1/+1
|
* Replace `#optional_second` with `#optional_allocator_error`gingerBill2022-09-125-23/+14
|
* Improve debug info to named return valuesgingerBill2022-09-121-1/+4
|
* Unify debug parameter codegingerBill2022-09-102-69/+10
|
* Split debug info generation for direct and indirect parametersgingerBill2022-09-092-3/+68
|
* Fix pointer cast of constant procedure valuesgingerBill2022-09-081-10/+9
|
* Disable buggy escape analysisgingerBill2022-09-081-0/+2
|
* Add `intrinsics.type_convert_variants_to_pointers` and ↵gingerBill2022-09-082-0/+43
| | | | `reflect.get_union_as_ptr_variants`
* Add `ODIN_BUILD_PROJECT_NAME` and `//+build-project-name`gingerBill2022-09-083-1/+58
| | | | | | | | | | | | This allows for condition inclusion of files, similar to `+build` or `ODIN_BUILD`, but relies on the directory name of the project to be the same as specified Example: odin build foo/bar/baz ODIN_BUILD_PROJECT_NAME == "baz" //+build_project_name baz
* Use `llvm.dbg.declare` for procedure parameters rather than `llvm.dbg.value`gingerBill2022-09-071-1/+2
|
* Add Windows 32-bit build system errorgingerBill2022-09-071-0/+4
|
* Simplify win32 resource file linkinggingerBill2022-09-071-33/+20
|
* Add inline debug generation for assembly target flag (#2028)gingerBill2022-09-071-1/+1
|