Commit Graph

3318 Commits

Author SHA1 Message Date
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
bjorn3
42eeb75a1f Merge branch 'wip_unsized_types'
cc #14
2018-08-30 20:27:50 +02:00
bjorn3
9878eea61c Implement indexing for slices 2018-08-30 20:22:35 +02:00
bjorn3
fa4a37759b Rvalue::Len 2018-08-30 20:22:25 +02:00
bjorn3
12282a8ebc Implement unsize array -> slice and trait object -> trait object 2018-08-30 20:21:58 +02:00
bjorn3
b5082f7da8 Support unsized types 2018-08-30 20:21:21 +02:00
bjorn3
0117b7872a Don't grep away parts of log 2018-08-30 20:16:46 +02:00
bjorn3
8111eee37a Rustup to rustc 1.30.0-nightly (02cb8f2a4 2018-08-29) 2018-08-30 20:14:56 +02:00
bjorn3
6f58f94cdb Add Caches to FunctionCx 2018-08-26 17:14:12 +02:00
bjorn3
42887dfdd9 Remove CodegenCx 2018-08-26 16:58:52 +02:00
bjorn3
e66f012d79 Remove stabilized feature gate 2018-08-26 16:28:00 +02:00
bjorn3
9dbc727b72 Rustfmt 2018-08-24 14:54:22 +02:00
bjorn3
0d15d9e5dd Rustup to rustc 1.30.0-nightly (63d66494a 2018-08-23) 2018-08-24 14:51:02 +02:00
bjorn3
8e8d03e477 [PATCH] Disable some more unsupported stuff in libcore 2018-08-23 11:16:34 +02:00
bjorn3
d348f5b473 Codegen all instance types 2018-08-22 18:53:57 +02:00
bjorn3
d87edae73b Add CValue variant ByValPair 2018-08-22 12:35:07 +02:00
bjorn3
65641b8872 Rustfmt 2018-08-22 12:31:45 +02:00
bjorn3
8cd9bf3162 Use *_imm in some places 2018-08-22 11:45:54 +02:00
bjorn3
954d1e7bf2 Don't hardcode usize being 64 bit (fixes #8) 2018-08-22 10:54:32 +02:00
bjorn3
8a1c86473c Remove CValue::Func 2018-08-19 10:50:39 +02:00
bjorn3
72f48776a1 Support cross-compiling (untested) 2018-08-18 16:36:47 +02:00
bjorn3
69834cafd3 Use instance_mir instead of optimized_mir 2018-08-18 16:09:49 +02:00
bjorn3
2ba1f35baf Be honest about data mutability 2018-08-18 10:46:29 +02:00
bjorn3
871be2a469 Codegen entry wrapper (fixes #13) 2018-08-17 13:21:03 +02:00
bjorn3
7a3ba963e1 Rustfmt 2018-08-17 13:01:56 +02:00
bjorn3
f27dfc3ac9 Make CodegenCx generic over Backend 2018-08-17 12:57:41 +02:00