Commit Graph

493 Commits

Author SHA1 Message Date
bjorn3
d5bfb76216 Implement some atomic intrinsics in a non atomic version 2018-09-16 16:01:26 +02:00
bjorn3
470a310f2e Implement place_field for unsized places 2018-09-16 15:28:27 +02:00
bjorn3
086ff67cff Implement returning ! for "C" abi 2018-09-16 14:59:49 +02:00
bjorn3
19eb4194b2 Fix unsize coerce for structs containing PhantomData like Unique 2018-09-16 14:49:45 +02:00
bjorn3
73248114ea Implement unsize of adt's (cc #14) 2018-09-16 12:02:03 +02:00
bjorn3
b9b0fc59f9 Update Cargo.lock 2018-09-16 11:23:44 +02:00
bjorn3
1f1746e2d3 Implement intrinsic min_align_of_val 2018-09-15 11:14:27 +02:00
bjorn3
6e87a4f16d Rustup to rustc 1.30.0-nightly (2ab3eba30 2018-09-14) 2018-09-15 10:44:23 +02:00
bjorn3
0fb7c4d1b9 Implement some intrinsics and fix a codegen error
* intrinsic size_of_val for sized types
* intrinsic needs_drop
* incorrect codegen for UnOp::Not for bools
2018-09-14 19:49:33 +02:00
dependabot[bot]
87c17aba92
Merge pull request #40 from bjorn3/dependabot/cargo/cranelift-9787326 2018-09-14 17:06:19 +00:00
dependabot[bot]
017cb5c0d6
Bump cranelift from a698c50 to 9787326
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `a698c50` to `9787326`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](a698c50f96...9787326c89)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-14 06:13:33 +00:00
dependabot[bot]
7ad08cacc4
Merge pull request #36 from bjorn3/dependabot/cargo/cranelift-faerie-a698c50 2018-09-13 06:47:58 +00:00
dependabot[bot]
af55db646b
Bump cranelift-faerie from d50e73a to a698c50
Bumps [cranelift-faerie](https://github.com/CraneStation/cranelift) from `d50e73a` to `a698c50`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](d50e73af77...a698c50f96)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-13 06:37:56 +00:00
dependabot[bot]
d455c2da5e
Merge pull request #33 from bjorn3/dependabot/cargo/cranelift-a698c50 2018-09-13 06:07:29 +00:00
dependabot[bot]
eaeab0a089
Bump cranelift from d50e73a to a698c50
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `d50e73a` to `a698c50`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](d50e73af77...a698c50f96)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-13 05:56:28 +00:00
bjorn3
59518987ed Implement drop support (fixes #11) 2018-09-12 14:40:06 +02:00
dependabot[bot]
770461f57d
Merge pull request #29 from bjorn3/dependabot/cargo/cranelift-d50e73a 2018-09-12 12:31:19 +00:00
dependabot[bot]
9a50510d0b
Bump cranelift from 078b07b to d50e73a
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `078b07b` to `d50e73a`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](078b07b86d...d50e73af77)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-12 12:20:38 +00:00
bjorn3
29c8fcfc24 Rustup to rustc 1.30.0-nightly (2f1547c0a 2018-09-11) 2018-09-12 14:16:28 +02:00
bjorn3
a63b85496a Rustfmt 2018-09-11 19:28:13 +02:00
dependabot[bot]
fb2983c48b
Merge pull request #26 from bjorn3/dependabot/cargo/cranelift-simplejit-078b07b 2018-09-11 06:09:55 +00:00
dependabot[bot]
bdd914a8b2
Bump cranelift-simplejit from 5b2af58 to 078b07b
Bumps [cranelift-simplejit](https://github.com/CraneStation/cranelift) from `5b2af58` to `078b07b`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](5b2af5841f...078b07b86d)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 06:00:47 +00:00
bjorn3
e7ca9a186b Fix jit 2018-09-09 14:45:23 +02:00
bjorn3
6196146ac4 Implement trait objects (cc #14) 2018-09-08 18:00:06 +02:00
bjorn3
62a0203a5a Rustfmt 2018-09-08 17:24:52 +02:00
bjorn3
252607ae41 Don't use write_mir_pretty for non local mir 2018-09-08 17:23:03 +02:00
bjorn3
9f489bc8de Don't require abi of defined function to be rust or rust-call 2018-09-08 14:44:32 +02:00
bjorn3
9ede386054 Don't call seal_all_blocks and finalize twice 2018-09-08 14:18:08 +02:00
bjorn3
feee8b2445 Misc changes to abi.rs 2018-09-08 11:20:15 +02:00
bjorn3
17c92bbd78 Rustup to rustc 1.30.0-nightly (fc81e3624 2018-09-07) 2018-09-08 11:11:46 +02:00
dependabot[bot]
341b5fe371
Merge pull request #24 from bjorn3/dependabot/cargo/cranelift-5b2af58 2018-09-07 06:33:27 +00:00
dependabot[bot]
0f82103c2a
Bump cranelift from 083d1e8 to 5b2af58
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `083d1e8` to `5b2af58`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](083d1e83f1...5b2af5841f)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-07 06:14:27 +00:00
bjorn3
871792d9ab Implement intrinsic size_of_val for slices 2018-09-06 18:45:29 +02:00
bjorn3
4c0a2ff59b Don't print Storage{Live,Dead} as comment in debug clif 2018-09-06 17:39:01 +02:00
dependabot[bot]
eb6f10fd11
Merge pull request #18 from bjorn3/dependabot/cargo/cranelift-faerie-083d1e8 2018-09-06 15:36:29 +00:00
dependabot[bot]
8c23a111ec
Merge pull request #19 from bjorn3/dependabot/cargo/cranelift-simplejit-083d1e8 2018-09-06 15:36:03 +00:00
bjorn3
dc0cd07ddd
Merge pull request #20 from bjorn3/dependabot/cargo/cranelift-083d1e8
Bump cranelift from `9ca7853` to `083d1e8`
2018-09-06 17:35:28 +02:00
dependabot[bot]
daf09237e3
Bump cranelift from 9ca7853 to 083d1e8
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `9ca7853` to `083d1e8`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](9ca7853842...083d1e83f1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 07:02:00 +00:00
dependabot[bot]
99f2d8bdef
Bump cranelift-simplejit from 9ca7853 to 083d1e8
Bumps [cranelift-simplejit](https://github.com/CraneStation/cranelift) from `9ca7853` to `083d1e8`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](9ca7853842...083d1e83f1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 07:01:51 +00:00
dependabot[bot]
c54d9b3b43
Bump cranelift-faerie from 9ca7853 to 083d1e8
Bumps [cranelift-faerie](https://github.com/CraneStation/cranelift) from `9ca7853` to `083d1e8`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](9ca7853842...083d1e83f1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 07:01:46 +00:00
bjorn3
d549d0f180 Update Cargo.lock 2018-09-05 19:43:42 +02:00
bjorn3
8adc744645 Implement Box rvalue 2018-09-04 19:04:25 +02:00
bjorn3
e407f39ba8 Rustup to rustc 1.30.0-nightly (0f063aef6 2018-09-03) 2018-09-04 18:26:49 +02:00
bjorn3
4053b7c8e6 Fix build.sh 2018-09-03 18:29:55 +02:00
bjorn3
4f9807a037 [PATCH] Disable all trait object unsizing 2018-09-02 18:50:39 +02:00
bjorn3
6f52a1937d Improve build.sh 2018-09-02 17:51:56 +02:00
bjorn3
8181149de2 Replace infinite loop in mini_core::panic with intrinsic::abort 2018-09-02 15:22:25 +02:00
bjorn3
42066522fb Perform some optimizations 2018-09-02 13:36:45 +02:00
bjorn3
0cfe31403a Rustup to rustc 1.30.0-nightly (28bcffead 2018-09-01) 2018-09-02 10:57:29 +02:00
bjorn3
16790d5421 Update patch 0004 to latest libcore 2018-08-30 20:48:42 +02:00