Ahmad Sattar
40c742d74d
Method to load layout stack size into a symbol
2023-01-29 13:07:02 +01:00
Ahmad Sattar
d9daebb566
Remove unneeded bumpalo::vec!
used for layouts
2023-01-29 10:53:14 +01:00
Ahmad Sattar
7fc24d5720
Add List.prepend
implementation for generic64
2023-01-28 22:46:35 +01:00
Folkert de Vries
6fc57f0a0c
Merge pull request #4976 from thehabbos007/list-concat
...
gen_dev: add `List.concat` and fix element width bug
2023-01-28 13:56:36 +01:00
Ahmad Sattar
f6b8a27955
Add List.concat
implementation for generic64
2023-01-28 02:16:05 +01:00
Ahmad Sattar
a1e2c3f64b
Use list element width for List.withCapacity
2023-01-28 02:02:32 +01:00
Folkert de Vries
c4cbbea4cb
Merge pull request #3958 from roc-lang/dev-backend-bitwise-shifts
...
Dev backend bitwise shifts
2023-01-28 00:46:09 +01:00
Folkert
bfe959af52
clippy
2023-01-27 11:54:16 +01:00
Folkert
c0a7b283f9
make sure RCX register does not alias an argument
2023-01-27 11:26:08 +01:00
Folkert
7cc5aa243b
fix some comments
2023-01-27 11:24:47 +01:00
Folkert
a35dee959f
clarify naming
2023-01-27 11:23:52 +01:00
Folkert
843f5b15e5
bitshifts for the dev backend
2023-01-27 11:23:51 +01:00
Christoph Rüßler
1b023f828f
dev backend: implement subWrap for all integer types
2023-01-27 10:27:50 +01:00
Ahmad Sattar
918d9d2308
Fix clippy lints
2023-01-26 20:32:47 +01:00
Ahmad Sattar
e71ea37d30
Use immutable List.reserve
variant
2023-01-26 13:10:26 +01:00
Ahmad Sattar
0adb38beca
Add List.append
implementation for generic64
2023-01-25 19:47:11 +01:00
Ahmad Sattar
9b525143cb
Add List.reserve
implementation for generic64
2023-01-25 19:46:54 +01:00
Ayaz
ad84e02abf
Merge pull request #4950 from roc-lang/keep-recptr-index
...
Initial support for linking recursive pointer layouts back to their source layouts
2023-01-24 14:42:00 -06:00
Ayaz Hafiz
8ad185fd1a
opaque pointers fit in a register in x86
2023-01-23 17:08:47 -06:00
Ayaz Hafiz
8edbd3b378
Eliminate uses of RECURSIVE_PTR directly
2023-01-23 16:04:55 -06:00
Folkert
3f72bc7222
clippy
2023-01-21 15:58:33 +01:00
Ahmad Sattar
312997f1c6
Add List.withCapacity
implementation for x86
...
Uses the zig builtin `listWithCapacity`
2023-01-21 15:57:10 +01:00
Folkert de Vries
810e05cd9a
Merge pull request #4922 from thehabbos007/asa/numgt
...
gen_dev: fix signed/unsigned `less than` and add signed/unsigned `greater than`
2023-01-19 20:49:06 +01:00
Ahmad Sattar
bbd4c9886c
Add NumSubWrap as a NumSub copy
2023-01-19 09:19:20 +01:00
Ahmad Sattar
6670a5d205
Add greater than
comparison
2023-01-18 20:26:45 +01:00
Ahmad Sattar
3683e9d436
Fix up less than
comparison
2023-01-18 20:26:45 +01:00
Ayaz Hafiz
cde83e9078
Remove an accidentally gen-dev addition
2023-01-11 14:39:12 -06:00
Ayaz Hafiz
1960f429bd
Cleanup of lints
2023-01-11 14:39:12 -06:00
Ayaz Hafiz
6859c2e15c
Update dev backend
2023-01-11 14:38:42 -06:00
Folkert de Vries
61a2091b27
Merge pull request #4851 from JTeeuwissen/main
...
replace borrowed boolean with ownership enum
2023-01-09 23:24:39 +01:00
J.Teeuwissen
b28b32cdc4
moved Ownership to borrow
2023-01-09 18:15:34 +01:00
J.Teeuwissen
6ec977bf1c
imports
2023-01-04 13:34:31 +01:00
J.Teeuwissen
6c95bc1fb9
replace borrowed boolean with ownership enum
2023-01-04 13:30:42 +01:00
Ayaz Hafiz
50826d1a83
Inline interners into the layout interner module
...
I realized that we'll need to make the layout interner more complicated
to support things like recursive pointers pointing to their parents and
to support lambda set layout caching. Since the layout interner is the
only user of intern crate right now anyway, just inline the whole thing.
2023-01-03 14:19:39 -06:00
Ayaz Hafiz
5ad796271e
Ignore unused vars
2022-12-28 18:55:24 -06:00
Ayaz Hafiz
d71d8fc795
Remove unneeded var
2022-12-28 18:54:31 -06:00
Ayaz Hafiz
7ab7fdfa7b
Push interned layouts as mut throughout the backend, and intern box layouts
2022-12-28 18:51:26 -06:00
Folkert
f76df8a356
make dbg transparent to refcounting
2022-12-22 01:03:03 +01:00
Ayaz Hafiz
803d7e30e3
Eliminate Stmt::RuntimeError in favor of crash
2022-11-24 14:46:53 -06:00
Ayaz Hafiz
c7ef1668d4
Implement mono of crash
2022-11-24 14:46:51 -06:00
Folkert
662bf1de99
more workspace dependencies
2022-11-13 16:10:02 +01:00
Folkert
14cd48fce7
Merge remote-tracking branch 'origin/main' into rust-1-62-1
2022-11-09 13:51:51 +01:00
Luke Boswell
2c2a70b8e7
Merge remote-tracking branch 'upstream/main' into rust-docs
2022-11-06 09:15:57 +11:00
Folkert
66a1ba00eb
1.65 clippy fixes
2022-11-03 16:20:37 +01:00
Luke Boswell
a3f901427a
correct formatting and removed duplicate image
2022-11-03 20:02:10 +11:00
Luke Boswell
f3bdb5f321
updating rust package documentation
2022-11-03 20:00:06 +11:00
Christopher Duncan
e086187f3c
Repair links in Markdown
...
This resolves #3832
2022-10-11 18:36:15 -04:00
Ayaz Hafiz
b72ee8a68e
Attempt bool true/false impl in dev backend
2022-09-20 14:42:09 -05:00
dependabot[bot]
0079048944
Bump bumpalo from 3.10.0 to 3.11.0
...
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases )
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.11.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 21:08:56 +00:00
Anton-4
f6324edc10
Merge branch 'main' of github.com:roc-lang/roc into rust-1-62-1
2022-09-10 18:17:33 +02:00