Commit graph

8 commits

Author SHA1 Message Date
Brendan Hansknecht
96b5d365b2
Add capacity growth to RocStr
Also, cleans up the alloc and realloc api for both list and str.
Updates Str.reserve to match List.reserve
2022-10-10 22:24:55 -07:00
Brendan Hansknecht
fdafac4323
Remove RocResult from utils.zig
It is implemented wrong and not used anywhere
2022-10-10 08:25:59 -07:00
Brian Carroll
173343eea2
builtins: relax condition for reusing an allocation 2022-09-04 14:37:42 +01:00
Brendan Hansknecht
ca8b052094
switch to wrapping subtract since it is safe here 2022-08-01 22:32:43 -07:00
Brendan Hansknecht
afaf59a050
change refcounts to assume overflows are impossible 2022-08-01 22:32:43 -07:00
Folkert
a9ba08d8cb
appendScalar zig implementation 2022-07-04 13:58:39 +02:00
Richard Feldman
6f5baa5021
Use alignOf instead of sizeOf 2022-07-02 13:11:43 -04:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Renamed from compiler/builtins/bitcode/src/utils.zig (Browse further)