Brian Carroll
|
973626fe2d
|
Rename FunctionBuilder back to CodeBuilder
|
2021-10-23 13:48:20 +02:00 |
|
Brian Carroll
|
dbe6d195f7
|
Delete CodeBuilder
|
2021-10-23 13:40:10 +02:00 |
|
Brian Carroll
|
74e3239a1c
|
Switch over to function_builder
|
2021-10-23 13:39:54 +02:00 |
|
Chelsea Troy
|
9633a5adaa
|
Fix the build, but List.dropLast itself still doesn't work.
|
2021-10-23 00:29:13 -05:00 |
|
Chelsea Troy
|
fd83c3b749
|
Branch the dropLast functionality from dropAt, inserting an index gathered by subtracting 1 from the list length
|
2021-10-23 00:17:08 -05:00 |
|
Brian Carroll
|
bca9f31c58
|
Implement insertions for byte-level code gen
|
2021-10-23 00:02:14 +02:00 |
|
Folkert
|
0ee4076e62
|
Merge remote-tracking branch 'origin/trunk' into procs-use-vectors
|
2021-10-22 23:01:12 +02:00 |
|
Folkert
|
127b1495a7
|
add comment
|
2021-10-22 23:00:47 +02:00 |
|
Folkert
|
2e773e5f66
|
turn module_thunks into a slice
|
2021-10-22 22:59:00 +02:00 |
|
Folkert
|
6a6ea64323
|
abstract checking of is module thunk
|
2021-10-22 22:16:52 +02:00 |
|
Folkert
|
6400baf2c1
|
shrink Procs until the last moment
|
2021-10-22 21:42:53 +02:00 |
|
Brian Carroll
|
dc1779d41d
|
Finalisation and serialisation for byte-level function builder
|
2021-10-22 19:02:03 +02:00 |
|
Folkert
|
eaaf3eb940
|
simplify monomorphization first steps
|
2021-10-22 18:12:46 +02:00 |
|
Folkert
|
0529d6dbc6
|
refactor insert_named
|
2021-10-22 17:22:15 +02:00 |
|
Folkert
|
9d343ab206
|
use vector instead of set
|
2021-10-22 16:57:14 +02:00 |
|
Brian Carroll
|
e55f4e7fa9
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_bumpalo
|
2021-10-22 16:57:04 +02:00 |
|
Brian Carroll
|
db43a15759
|
Fix clippy warning
|
2021-10-22 16:56:54 +02:00 |
|
Folkert
|
1d1bd3d051
|
working, but generates more code
|
2021-10-22 14:54:15 +02:00 |
|
Folkert
|
2ff3a97ada
|
re-implement roc returning by pointer
|
2021-10-22 13:24:18 +02:00 |
|
Folkert
|
171c0836e4
|
return tag unions by pointer
|
2021-10-22 13:18:31 +02:00 |
|
Brian Carroll
|
0586f91b04
|
Reorder arguments of instruction methods
Having the opcode first makes it easier to see if it matches the method name
|
2021-10-22 13:17:18 +02:00 |
|
Folkert
|
28b15cdf67
|
prettier
|
2021-10-22 13:17:07 +02:00 |
|
Folkert
|
7d1bd0ffe7
|
make refcount take tag union by reference
|
2021-10-22 13:17:07 +02:00 |
|
Folkert
|
e73ac60053
|
improve Tag literal generation
|
2021-10-22 13:17:07 +02:00 |
|
Folkert
|
ad9f0b0609
|
clippy
|
2021-10-22 13:07:45 +02:00 |
|
Brian Carroll
|
fbceafa8dc
|
Get all instructon methods compiling
|
2021-10-22 12:59:19 +02:00 |
|
Folkert
|
da3787feb8
|
Merge remote-tracking branch 'origin/trunk' into remove-call-result-again
|
2021-10-22 12:57:36 +02:00 |
|
Folkert
|
10b9307ab6
|
centralize calling roc functions in llvm
|
2021-10-22 12:56:58 +02:00 |
|
Folkert
|
e6edfda9a5
|
refactor call to roc function
|
2021-10-22 12:32:37 +02:00 |
|
Folkert
|
83de4b55ef
|
remove another instance of RocCallResult
|
2021-10-22 12:26:04 +02:00 |
|
Brian Carroll
|
4f958e8a80
|
Get most common instruction patterns to compile
|
2021-10-22 12:01:22 +02:00 |
|
Brian Carroll
|
4563e2af49
|
Get function_builder compiling
|
2021-10-22 10:38:53 +02:00 |
|
Chelsea Troy
|
49a832d757
|
Add dropLast to tests and parser
|
2021-10-21 23:02:26 -05:00 |
|
Brian Carroll
|
dc80623d45
|
Sketch out methods for byte-level instructions. No macros yet.
|
2021-10-21 23:21:56 +02:00 |
|
Brian Carroll
|
e168d175c4
|
Start writing a byte-level function_builder
|
2021-10-21 21:30:51 +02:00 |
|
Brian Carroll
|
5ea313f256
|
update gen_wasm to use bumpalo::collections::Vec where possible
|
2021-10-21 21:14:15 +02:00 |
|
Folkert
|
5507743776
|
pass arguments as owned again, borrowed caused regressions
|
2021-10-21 21:09:48 +02:00 |
|
Folkert
|
0a12ce896f
|
Revert "make list inc/dec non-recursive (except when freeing the list)"
This reverts commit 19eadbfe70 .
|
2021-10-21 20:28:32 +02:00 |
|
Folkert
|
03144f978f
|
Revert "clippy"
This reverts commit 7773cf9b4d .
|
2021-10-21 20:28:18 +02:00 |
|
Brian Carroll
|
1be6fd1222
|
Switch to fork of parity-wasm that can support bumpalo vectors
|
2021-10-21 17:14:07 +02:00 |
|
Richard Feldman
|
48505abb08
|
Merge pull request #1801 from rtfeldman/shritesh/m1-codesign
Just enough changes to compile on M1
|
2021-10-20 22:50:14 -04:00 |
|
Richard Feldman
|
cf76ef1f6f
|
Merge pull request #1796 from rtfeldman/divTruncate
Intrinsics for more types
|
2021-10-20 21:33:44 -04:00 |
|
Shritesh Bhattarai
|
be9d817830
|
Just enough changes to compile on M1
|
2021-10-20 20:07:33 -04:00 |
|
Folkert
|
5c02899535
|
oops
|
2021-10-20 23:52:51 +02:00 |
|
Folkert
|
dd38d49335
|
fix formatting
|
2021-10-20 19:44:26 +02:00 |
|
Folkert
|
76e26e47f3
|
more cleanup
|
2021-10-20 17:05:59 +02:00 |
|
Folkert
|
7735ca21ea
|
cleanup
|
2021-10-20 17:03:55 +02:00 |
|
Folkert
|
f8dec9453b
|
make things static again
|
2021-10-20 16:58:25 +02:00 |
|
Folkert
|
a072d8d1b1
|
fix things
|
2021-10-20 16:56:04 +02:00 |
|
Folkert
|
63b1aaad4e
|
hook up polymorphic zig builtins
|
2021-10-20 16:43:39 +02:00 |
|