Commit graph

5650 commits

Author SHA1 Message Date
Brian Carroll
a8f402d155
Merge branch 'trunk' into wasm-long-string-literal 2021-11-17 13:34:27 +00:00
Richard Feldman
8f25106b2c
Merge pull request #1986 from rtfeldman/valgrind_instr_fix
cli_run tests: valgrind unhandled insturction bytes
2021-11-16 20:32:39 -05:00
Brian Carroll
85855fc112 Merge branch 'wasm-long-string-literal' of github.com:rtfeldman/roc into wasm-long-string-literal 2021-11-16 23:41:31 +00:00
Brian Carroll
36f2ef301f Only enable wasm_str tests for gen-wasm feature 2021-11-16 23:41:15 +00:00
Brian Carroll
28cf23d78a
Merge branch 'trunk' into wasm-long-string-literal 2021-11-16 17:40:11 +00:00
Anton-4
2a4b3d3cd3 added cfg to static size check for arm CPUs 2021-11-16 16:56:05 +01:00
Anton-4
0f064c121e
Merge branch 'trunk' into valgrind_instr_fix 2021-11-16 12:24:26 +01:00
Richard Feldman
28273b67da
Merge pull request #1970 from rtfeldman/shrink-call-type
Shrink call type
2021-11-15 19:56:21 -08:00
Richard Feldman
8258fc05e6
Merge pull request #1979 from rtfeldman/decision-tree-remove-clone
Decision tree remove clone
2021-11-15 19:49:12 -08:00
Richard Feldman
b28430451c
Merge pull request #1981 from rtfeldman/solved-type-remove-hash
Solved type remove hash
2021-11-15 19:47:06 -08:00
Folkert de Vries
f49bd04e68
Merge branch 'trunk' into decision-tree-remove-clone 2021-11-15 22:34:56 +01:00
Folkert
163656b2bd fix merge conflict 2021-11-15 20:13:50 +01:00
Folkert de Vries
1a3f2aed4f
Merge branch 'trunk' into refactor-builtin-list-drop 2021-11-15 19:51:17 +01:00
Brian Carroll
7ac1c7a72f Get long string literals working in gen_wasm 2021-11-15 15:22:07 +00:00
Brian Carroll
a5c3809290 Delete DataCountSection. Not well-supported and only needed for instructions we don't use
https://webassembly.github.io/spec/core/binary/modules.html#binary-datacountsec

Tools like wasm2wat and wasm-validate reject the module when this section is included!
Its purpose is to enable single-pass validation for two specific instructions that were
not in the original Wasm MVP: memory.init and data.drop.
We don't use them in our Roc backend. It seems to make sense just to drop the section.
2021-11-15 12:59:28 +00:00
Brian Carroll
46636ef331 Ensure lowlevel inlining does not skip bounds checks 2021-11-15 12:56:34 +00:00
Anton-4
04db9fe212 removed dbg 2021-11-15 13:54:05 +01:00
Anton-4
6e23919811 put mcpu in comments 2021-11-15 13:43:19 +01:00
satotake
c253273490 Merge branch 'trunk' into refactor-builtin-list-drop 2021-11-15 11:37:32 +00:00
satotake
8e29daa160 remove low-level List.drop codes 2021-11-15 11:28:38 +00:00
Brian Carroll
8f0c2db418 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-inline-lowlevel 2021-11-15 09:53:30 +00:00
Brian Carroll
e200e6c346 Clippy + fmt 2021-11-15 09:52:16 +00:00
Brian Carroll
1c17797aa6 Fix de-duplication of builtin imports 2021-11-15 09:01:36 +00:00
Brian Carroll
79bd9ccf71 Symbol-to-lowlevel mapping for both dev backends 2021-11-15 00:27:04 +00:00
Brian Carroll
00793eb0d8 Fix inexhaustive pattern matches in low_level 2021-11-15 00:06:31 +00:00
Folkert de Vries
d0902c45a1
Merge branch 'trunk' into joshuawarner32/imports-trailing-spaces 2021-11-14 23:16:21 +01:00
Folkert
8ebd09b616 make fewer intermediate pending specializations 2021-11-14 22:28:21 +01:00
Joshua Warner
a384042c59 add handling for ListEnd errors 2021-11-14 13:25:17 -08:00
Folkert
2c0aac2a6a remove solved type hash instance 2021-11-14 22:20:06 +01:00
Brian Carroll
b9e97400d7 Inline lowlevel wrapper functions 2021-11-14 21:08:05 +00:00
Folkert de Vries
05ac111975
Merge branch 'trunk' into decision-tree-remove-clone 2021-11-14 20:21:52 +01:00
Brian Carroll
29d355c4d6 Implement Expr::StructAtIndex for wasm dev backend 2021-11-14 19:06:04 +00:00
Folkert
d29265759b simplify edge counting 2021-11-14 19:49:02 +01:00
Joshua Warner
6fab6e20f5 Fix clippy 2021-11-14 10:40:09 -08:00
Folkert
cb55f66b5b pass slice instead of vector 2021-11-14 19:39:03 +01:00
Joshua Warner
fb960d98b8 Remove unused macros 2021-11-14 10:14:53 -08:00
Joshua Warner
6c82b1789a Convert effects to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
8c8bc910fd Convert exposes_modules to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
c4e70ca7aa Convert exposes_values to ccollection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
71cc8d4c4b Convert requires_rigids to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
df89fe7dd6 Make provides a Collection 2021-11-14 10:14:53 -08:00
Joshua Warner
d67b6c50b1 Allow trailing comments in provides decl 2021-11-14 10:14:53 -08:00
Joshua Warner
23c75d2699 Allow trailing comments in imports decl 2021-11-14 10:14:53 -08:00
Joshua Warner
c10f403c94 Allow trailing comments in exposes decl 2021-11-14 10:14:52 -08:00
Folkert de Vries
4bdfc169b1
Merge branch 'trunk' into wasm-control-stack 2021-11-14 14:48:15 +01:00
satotake
5b64eb6983 refacotr List.drop 2021-11-14 13:46:40 +00:00
Brian Carroll
d34f5050cb formatting 2021-11-14 13:35:25 +00:00
Brian Carroll
21a53ea044 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-control-stack 2021-11-14 13:22:02 +00:00
Brian Carroll
f121d6f599 Fix formatting 2021-11-14 13:21:56 +00:00
Folkert de Vries
28eb7a03cc
Merge branch 'trunk' into joshuawarner32/use-collection-4 2021-11-14 13:40:51 +01:00