Commit graph

588 commits

Author SHA1 Message Date
Folkert
5bda7dedc8
windows calling convention for bigger structures
also fixes roc_panic argument passing
2023-09-03 21:32:37 +02:00
Luke Boswell
1856695b0b
only generate roc panic if running tests 2023-09-03 21:32:35 +02:00
Folkert
0f3da32d9d
remove unused field 2023-08-09 15:11:02 +02:00
Folkert
7fb4b60b21
move around hostexposedalias logic 2023-08-09 15:09:03 +02:00
Folkert
fe38d56569
cleanup 2023-08-05 17:19:59 +02:00
Luke Boswell
5cff9ac981
windows & zig returning of 128bit values 2023-08-05 16:44:58 +02:00
Luke Boswell
0f5ea7eeb8
fix float callee convention for Windows 2023-08-05 16:44:39 +02:00
Folkert
afc3bd5c15
fix missing dereference 2023-08-01 00:43:13 +02:00
Folkert
2a6060f9b9
shave off an instruction 2023-07-31 19:03:34 +02:00
Folkert
5448730cfd
if let vs if 2023-07-31 18:23:28 +02:00
Folkert
c5db42631e
some code sharing 2023-07-30 21:20:23 +02:00
Folkert
c9531bf733
remove dead code 2023-07-30 20:57:07 +02:00
Folkert
4cfa7c124d
better way of fetching the error message 2023-07-30 20:44:14 +02:00
Folkert
6e4b41a2f4
use the correct register 2023-07-30 20:44:14 +02:00
Folkert
b000f3819a
formatting 2023-07-30 20:44:13 +02:00
Luke Boswell
c4b8a6e8f2
windows patches 2023-07-30 20:44:13 +02:00
Folkert
da3635de8e
cleanup 2023-07-30 20:44:13 +02:00
Folkert
d42e987b12
a blind attempt on setjmp/longjmp for windows 2023-07-30 20:44:12 +02:00
Folkert
29df340a26
pass the crash tag through 2023-07-30 20:44:11 +02:00
Folkert
bb97b9ff74
cleanup 2023-07-30 20:44:10 +02:00
Folkert
f59eed6366
so close 2023-07-30 20:44:10 +02:00
Folkert
644def72f1
working happy path 2023-07-30 20:44:10 +02:00
Folkert
d3ac7d616d
WIP 2023-07-30 20:44:09 +02:00
Folkert
8c99cdf817
working codegen 2023-07-30 20:44:07 +02:00
Folkert
10aa4f58c9
WIP 2023-07-30 20:41:33 +02:00
Folkert
f96c78b3a5
setjmp/longjmp assembly gen 2023-07-30 20:39:53 +02:00
Folkert
44d03eebfa
switch over to alloca expr 2023-07-30 18:48:35 +02:00
Folkert
cdd2aab217
add alloca as an expression 2023-07-30 18:46:00 +02:00
J.Teeuwissen
80faf0eeee
removed borrow.rs 2023-07-30 14:03:38 +02:00
Ayaz Hafiz
a8d821bf87
Remove all box references 2023-07-12 15:50:00 -05:00
Ayaz Hafiz
13d1232f7d
Erased functions do not take a func spec 2023-07-12 14:44:17 -05:00
Ayaz Hafiz
7ea85e44d2
Add Layout::Erased 2023-07-12 14:43:24 -05:00
Ayaz Hafiz
283b9d53d6
Add Expr::ErasedLoad 2023-07-12 14:42:46 -05:00
Ayaz Hafiz
2c838aa5c2
Add mono Expr::ErasedMake 2023-07-12 14:40:16 -05:00
Ayaz Hafiz
3e3d3cc7f3
Type fixes 2023-07-12 14:21:28 -05:00
Ayaz Hafiz
cf30f02e01
Expr::FunctionPointer 2023-07-12 14:21:27 -05:00
Ayaz Hafiz
510a421748
Call erased functions 2023-07-12 14:14:25 -05:00
Ayaz Hafiz
929579d51d
Fix 2023-07-12 14:14:25 -05:00
Ayaz Hafiz
6312d75ee0
Add FunctionPointer layout 2023-07-12 13:59:50 -05:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Folkert
6a19009acf
32-bit float mov instruction 2023-07-09 15:47:29 +02:00
Folkert
6d2d65bb1e
remove Boxed layout 2023-07-09 15:47:28 +02:00
Folkert
d64930c17f
remove box and unbox expressions 2023-07-09 15:47:28 +02:00
Folkert
f27cb83a02
remove Reuse 2023-06-29 18:40:26 +02:00
Folkert
463f739c06
add reuse info to normal Tag ir constructor 2023-06-29 18:40:26 +02:00
Folkert
fc3004da58
free or reuse unconditionally when value is unique 2023-06-27 17:37:45 +02:00
Folkert
654cf7b861
changes after review 2023-06-24 14:49:57 +02:00
Folkert
41af8ff969
fix invalid register write 2023-06-24 14:49:56 +02:00
Folkert
249f9bcf1e
use base pointer, not stack pointer 2023-06-24 14:49:54 +02:00
Folkert
8fc4a42664
spelling 2023-06-24 14:49:51 +02:00