Commit Graph

2185 Commits

Author SHA1 Message Date
bjorn3
6e9ee81271 [gh actions] Run the compile step with the same arguments as test.sh 2020-03-17 15:07:55 +01:00
bjorn3
d07c404bf4 Rename try intrinsic argument to match upstream 2020-03-17 14:53:32 +01:00
bjorn3
ebf13f1cce Rustup to rustc 1.43.0-nightly (dd6718796 2020-03-16) 2020-03-17 14:52:06 +01:00
dependabot-preview[bot]
98f669131c
Merge pull request #922 from bjorn3/dependabot/cargo/cranelift-codegen-e2f6c08 2020-03-16 05:42:23 +00:00
dependabot-preview[bot]
16d3fd31d7
Bump cranelift-codegen from fbe29da to e2f6c08
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `fbe29da` to `e2f6c08`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](fbe29da5cc...e2f6c08052)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 05:11:04 +00:00
bjorn3
643f0a1455 Remove unused import 2020-03-15 19:52:41 +01:00
bjorn3
d445a6f73d
Update links for the merge of the Cranelift and Wasmtime repos 2020-03-14 20:52:20 +01:00
bjorn3
0c1dcb0bbf Pre-allocate vec for rlib metadata reading
Reduces the time spent during the copy from ~9% to ~1% for helloworld

cc #878
2020-03-14 19:01:47 +01:00
bjorn3
fe0e2ae66d [gh actions] Really fix caching this time 2020-03-14 18:17:13 +01:00
bjorn3
5d516f9e11 Use Vec instead of HashSet for ccx.todo
This reduces runtime of ConstantCx::finalize for the coercions rustc
bench by ~65%

cc #878
2020-03-14 16:36:55 +01:00
bjorn3
efe3d84ce4 Don't lookup span position when the span hasn't changed
This improves performance of FunctionDebugContext::define by ~60%

Fixes #807
2020-03-14 15:18:04 +01:00
bjorn3
660b5c33e7 Use byte offsets instead of char offsets in debuginfo
cc #807
2020-03-14 15:10:22 +01:00
bjorn3
092cae12f9 Dont single step into macros
Fixes #782
2020-03-14 14:48:04 +01:00
bjorn3
ce4c514001 Error on allocation containing reference to TLS value
Fixes #868
2020-03-14 14:39:29 +01:00
bjorn3
10ee80c288 Write dummy return value on unimplemented simd_{insert,extract}
Fixes #919
2020-03-14 14:34:07 +01:00
bjorn3
9fd8b84a4b [gh actions] Invalidate cargo-registry cache 2020-03-14 12:49:52 +01:00
bjorn3
bed829389e [gh actions] invalidate cargo-installed-crates cache 2020-03-14 12:47:18 +01:00
bjorn3
50c1d8a028 [gh actions] Really fix permission problems with caching 2020-03-13 20:24:52 +01:00
bjorn3
014438c614 [gh actions] Cache cargo registry and index 2020-03-13 20:22:38 +01:00
bjorn3
2e5661dae6 [gh actions] Fix caching of ~/.cargo/bin 2020-03-13 20:22:33 +01:00
bjorn3
133b05b3a4 [gh actions] Cache target dir for specific rustc version 2020-03-13 19:24:17 +01:00
bjorn3
512b33f001 [gh actions] Fix caching of cargo installed crates 2020-03-13 18:55:25 +01:00
bjorn3
ec9b3e15af Setup github actions 2020-03-13 18:34:00 +01:00
bjorn3
98a073cf26 Shrink vtable symbol names a bit 2020-03-13 11:19:31 +01:00
bjorn3
4d226e8f17 Hash trap message symbol nameThis saves ~7% of disk space 2020-03-13 11:02:14 +01:00
bjorn3
1c02e6c368 Rustup to rustc 1.43.0-nightly (c20d7eecb 2020-03-11) 2020-03-12 21:04:00 +01:00
bjorn3
b469bf3b08 Refactor driver/aot.rs
Fixes #917
2020-03-12 11:58:59 +01:00
bjorn3
933ef94f63 Move aot code to driver/aot.rs 2020-03-12 11:48:17 +01:00
bjorn3
03240d89cc Move jit code to driver/jit.rs 2020-03-12 11:44:27 +01:00
bjorn3
1a0d1ed9df Move driver.rs 2020-03-12 11:42:01 +01:00
bjorn3
dfd365e060 Display crate name in the "codegen mono items" time message 2020-03-12 11:40:42 +01:00
bjorn3
f7666e9c2b Fix typo found by @lqd 2020-03-12 11:25:35 +01:00
bjorn3
7c16ea63f6 [README] Threads are supported 2020-03-12 11:20:36 +01:00
bjorn3
1980371195 Better use of env vars 2020-03-12 11:19:26 +01:00
bjorn3
c2962a603c
Merge pull request #918 from bjorn3/incr_cache
Implement incremental caching of object files
2020-03-11 21:51:11 +01:00
bjorn3
92ff6c2930
Mention CG_CLIF_INCR_CACHE in the readme 2020-03-11 19:54:18 +01:00
bjorn3
e4f1f3db27 Implement incremental caching of object files 2020-03-11 18:42:51 +01:00
bjorn3
1e074106e6 Don't disable inline asm in hint::spin_loop 2020-03-11 14:08:54 +01:00
bjorn3
3fa9366f9c
Merge pull request #916 from bjorn3/fn_once_for_box_without_alloca
Emulate `<Box<F> as FnOnce>::call_once` without `alloca`
2020-03-11 13:58:22 +01:00
bjorn3
c5b5b2b702 Don't disable multithreading in libtest 2020-03-10 20:53:05 +01:00
bjorn3
8878d00794 Rustup to rustc 1.43.0-nightly (3dbade652 2020-03-09) 2020-03-10 20:51:38 +01:00
bjorn3
dcc86d306c Emulate <Box<F> as FnOnce>::call_once without alloca
Fixes #884

cc #15
2020-03-10 20:48:58 +01:00
bjorn3
240d56c33c Support virtual calls with unsized self argument 2020-03-10 20:41:31 +01:00
dependabot-preview[bot]
c53297f5eb
Bump proc-macro2 from 1.0.8 to 1.0.9 (#908)
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases)
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.8...1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 10:40:23 +01:00
dependabot-preview[bot]
32bcee563e
Bump syn from 1.0.15 to 1.0.16 (#907)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.15...1.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 10:40:04 +01:00
dependabot-preview[bot]
c84949129b
Bump quote from 1.0.2 to 1.0.3 (#912)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.2...1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 10:39:45 +01:00
bjorn3
11b1c8b5c6 Use multiple codegen units
Fixes #909
2020-03-09 11:29:26 +01:00
dependabot-preview[bot]
07799fee41
Merge pull request #913 from bjorn3/dependabot/cargo/cranelift-codegen-fbe29da 2020-03-09 07:10:15 +00:00
dependabot-preview[bot]
12d324ce68
Bump cranelift-codegen from 4284491 to fbe29da
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `4284491` to `fbe29da`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](4284491339...fbe29da5cc)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 05:17:39 +00:00
bjorn3
6a90b6844f Revert "Use multiple codegen units"
This reverts commit 03acf67a0e.
2020-03-08 13:27:43 +01:00