Commit graph

281 commits

Author SHA1 Message Date
John Murray
298f93d20c
update a bunch of panic message to be capitalized 2023-11-28 20:46:09 -05:00
HajagosNorbert
9c21ac1388
rename to GetElementPointer, index -> indices 2023-11-13 15:48:05 +01:00
HajagosNorbert
90223022af
remove tag_id in favor of index 2023-11-13 15:48:05 +01:00
HajagosNorbert
347431d1df
index to slice of indicies 2023-11-13 15:48:05 +01:00
Brian Carroll
a2f4d418bb
Fix Wasm backend compile error in Web REPL build 2023-11-06 08:08:00 +00:00
Brian Carroll
eb76ec4e90
Simplify call_import and call 2023-11-05 23:57:37 +00:00
Brian Carroll
10b0357140
Trim load_symbols_for_call 2023-11-05 23:55:26 +00:00
Brian Carroll
87ef10a4e5
Remove unused args from lowlevel helpers 2023-11-05 23:45:29 +00:00
Brian Carroll
84a230a2e5
Remove unused args from call 2023-11-05 23:32:20 +00:00
Brian Carroll
4b0c5fd0c6
Delete pushes and pops for each instruction 2023-11-05 23:20:47 +00:00
Brian Carroll
b5d3af0522
Delete VmBlock, vm_block_stack 2023-11-05 23:20:47 +00:00
Brian Carroll
86a6a3ace5
Delete current_stack, VmSymbolState, stack_is_empty, current_stack 2023-11-05 23:20:46 +00:00
Brian Carroll
664de9b285
Delete verify_stack_match 2023-11-05 23:20:46 +00:00
Brian Carroll
a76c4420fa
CodeBuilder tracks which local variables are set 2023-11-05 23:20:46 +00:00
Brian Carroll
8636299155
Remove redundant pattern match 2023-11-05 23:20:46 +00:00
Brian Carroll
8fe9758460
Remove some stray calls to load_args 2023-11-05 23:20:46 +00:00
Brian Carroll
563ad8f1fb
Delete some unused code from codebuilder and storage 2023-11-05 23:20:46 +00:00
Brian Carroll
5719384ed9
Get rid of VM stack storage 2023-11-05 23:20:46 +00:00
Brian Carroll
3d57e7a89c
If host has a _start, don't bother searching for main 2023-10-23 13:50:36 -07:00
Brendan Hansknecht
6665a0ea4f
Fix malloc in wasm by setting __heap_end 2023-10-23 13:50:36 -07:00
Brian Carroll
8ead194c2c
Fix order of operations in gen_wasm host-to-app linking 2023-10-23 13:50:35 -07:00
Brendan Hansknecht
ca283197b9
fix LIST_RELEASE_EXCESS_CAPACITY arg count 2023-10-23 13:50:34 -07:00
Brian Carroll
197b626497
wasm: Delete load_symbol_zig. All tests pass! 2023-10-23 13:50:32 -07:00
Brian Carroll
12c6c25031
wasm: Fix number of args for higher-order lowlevels 2023-10-23 13:50:32 -07:00
Brian Carroll
b3bb477ccb
wasm: Fix struct calling convention for Zig lowlevels 2023-10-23 13:50:31 -07:00
Brian Carroll
4c4344b46c
wasm: delete CallConv, since now Zig==C (hopefully) 2023-10-23 13:50:31 -07:00
Brian Carroll
cc2b8b5d19
wasm: delete ReturnMethod::ZigPackedStruct 2023-10-23 13:50:31 -07:00
Brendan Hansknecht
e270f36422
add wasm backend hooks 2023-09-16 23:05:12 -07:00
Brendan Hansknecht
108d9a54e3
Switch Num.tan to a zig builtin
It should be able to share some work between sine and cosine to run faster.
2023-09-16 21:27:51 -07:00
Folkert
5bcfd91f3a
add decimal comparisons and conversions to wasm backend 2023-09-13 23:19:07 +02:00
Richard Feldman
2da41be29f
Merge remote-tracking branch 'origin/main' into abilities-syntax 2023-08-10 20:36:01 -04: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
Folkert
81b4b3d22c
fix layout comparison in wasm backend 2023-07-28 16:23:14 +02:00
Folkert
334253f47f
check inside a lambda set for whether it is reference counted 2023-07-26 20:06:37 +02:00
Ayaz Hafiz
a8d821bf87
Remove all box references 2023-07-12 15:50:00 -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
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
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