Commit Graph

589 Commits

Author SHA1 Message Date
bjorn3
4ecbee2f09 Implement float -> int/uint cast 2019-02-16 16:24:38 +01:00
bjorn3
de94b62ba4 Fix atomic_xchg* intrinsics 2019-02-16 16:24:03 +01:00
bjorn3
26289edf1a Fix cttz{,_nonzero} intrinsics 2019-02-16 15:42:20 +01:00
bjorn3
5721542164 Fix BinOp::Offset
fixes #341
2019-02-16 14:02:15 +01:00
bjorn3
4c94251f95 Several fixes 2019-02-16 13:49:42 +01:00
bjorn3
6acfee8978 Remove unnecessary stuff from patch 0002-Disable-u128-and-i128-in-libcore 2019-02-16 12:37:33 +01:00
bjorn3
06dd020446 Rustup to rustc 1.34.0-nightly (a9410cd1a 2019-02-15) 2019-02-16 12:35:56 +01:00
bjorn3
408f27bade
Libstd and varargs are now supported. 2019-02-16 12:21:22 +01:00
dependabot[bot]
f980ba76c1
Merge pull request #345 from bjorn3/dependabot/cargo/cranelift-2145dd3 2019-02-13 17:24:33 +00:00
dependabot[bot]
cbf09a9864
Bump cranelift from 4d92022 to 2145dd3
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `4d92022` to `2145dd3`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](4d92022a0b...2145dd3ffa)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-13 16:59:20 +00:00
bjorn3
444fdf150f Rustup to rustc 1.34.0-nightly (b244f61b7 2019-02-12) 2019-02-13 14:55:09 +01:00
bjorn3
b05c457257 Use correct alignment for CValue::ByRef for a ZST 2019-02-13 14:32:30 +01:00
bjorn3
e74e089ae5
Merge pull request #339 from bjorn3/fix_libstd
Fix libstd
2019-02-12 12:21:40 +01:00
bjorn3
130fbe2574
*const char -> *const i8 2019-02-12 08:24:32 +01:00
bjorn3
223611dcb2 Fix and enable libstd building 2019-02-11 19:40:07 +01:00
bjorn3
c68e76c33b Implement variadic function calling 2019-02-11 19:18:52 +01:00
bjorn3
4bb8bfca94 Disable macOS debuginfo and on all platforms optimizations 2019-02-11 19:11:55 +01:00
bjorn3
5b3867430f Fix "offset" intrinsic
It didn't multiply the offset given by the pointee type size.
2019-02-11 18:50:26 +01:00
bjorn3
91385ba0fc Cleanup config.sh 2019-02-11 15:42:28 +01:00
bjorn3
a272efa030 Fix alloc_example 2019-02-11 15:29:46 +01:00
bjorn3
19f9810a0f Rustup to rustc 1.34.0-nightly (0b7af2668 2019-02-10) 2019-02-11 15:10:28 +01:00
bjorn3
05ee5cc090
Merge pull request #338 from philipc/gimli
Update gimli
2019-02-11 15:09:17 +01:00
Philip Craig
e2a869e166 Update gimli 2019-02-11 17:05:38 +10:00
bjorn3
1eba7e5f5e Implement drop for trait objects 2019-02-08 17:20:24 +01:00
dependabot[bot]
e506ff1ddb
Merge pull request #334 from bjorn3/dependabot/cargo/cranelift-4d92022 2019-02-08 06:42:44 +00:00
dependabot[bot]
d3995bc5f6
Bump cranelift from 0a04fb6 to 4d92022
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `0a04fb6` to `4d92022`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](0a04fb6ad0...4d92022a0b)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 05:37:43 +00:00
bjorn3
c8f19f1cb2 Make codegen_call_inner a bit more readable 2019-02-07 20:28:55 +01:00
dependabot[bot]
2709d2ee78
Merge pull request #330 from bjorn3/dependabot/cargo/cranelift-0a04fb6 2019-02-07 08:55:13 +00:00
dependabot[bot]
bbfcecc312
Bump cranelift from c47ca7b to 0a04fb6
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `c47ca7b` to `0a04fb6`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](c47ca7bafc...0a04fb6ad0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 07:26:33 +00:00
bjorn3
160c6925c1
Merge pull request #327 from bjorn3/dependabot/cargo/gimli-955c33e
Bump gimli from `9ed8d7b` to `955c33e`
2019-02-07 08:22:39 +01:00
dependabot[bot]
226aa36373
Bump gimli from 9ed8d7b to 955c33e
Bumps [gimli](https://github.com/gimli-rs/gimli) from `9ed8d7b` to `955c33e`.
- [Release notes](https://github.com/gimli-rs/gimli/releases)
- [Commits](9ed8d7bce4...955c33ed00)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 06:21:48 +00:00
bjorn3
f2b67e12bb Remove 0008-Replace-some-variadic-function-calls-with-unimplemen.patch 2019-02-06 19:22:01 +01:00
bjorn3
c6bf784d39 Misc changes 2019-02-06 19:07:21 +01:00
bjorn3
43f4dc6220 Fix some warnings 2019-02-06 18:49:59 +01:00
bjorn3
059b589407 Implement dynamic dispatch for self: Box<T> 2019-02-06 18:44:13 +01:00
bjorn3
f78c99eb10
Merge pull request #324 from bjorn3/dependabot/cargo/fuchsia-cprng-0.1.1
Bump fuchsia-cprng from 0.1.0 to 0.1.1
2019-02-06 17:37:07 +01:00
bjorn3
3c901117c0
Merge pull request #325 from bjorn3/dependabot/cargo/cc-1.0.29
Bump cc from 1.0.28 to 1.0.29
2019-02-06 17:36:59 +01:00
dependabot[bot]
f10f918348
Bump cc from 1.0.28 to 1.0.29
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.28...1.0.29)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-06 06:06:48 +00:00
dependabot[bot]
93217dbae6
Bump fuchsia-cprng from 0.1.0 to 0.1.1
Bumps fuchsia-cprng from 0.1.0 to 0.1.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-06 06:06:44 +00:00
bjorn3
4cae5b68d9
Merge pull request #323 from bjorn3/dependabot/cargo/serde-1.0.87
Bump serde from 1.0.86 to 1.0.87
2019-02-05 08:25:18 +01:00
dependabot[bot]
82540cd429
Bump serde from 1.0.86 to 1.0.87
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.86...v1.0.87)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 05:19:56 +00:00
bjorn3
e1620402e0 Introduce CPlace::NoPlace for zst's 2019-02-04 19:58:29 +01:00
bjorn3
d0c81d259a Take stack_addr in advance for locals to avoid many duplicate instructions 2019-02-04 19:44:16 +01:00
bjorn3
feec354d65 Introduce CPlace::Stack 2019-02-04 19:32:32 +01:00
bjorn3
3e24c1212f Refactor CPlace address handling 2019-02-04 19:32:29 +01:00
bjorn3
0d16dcfce1 Don't try to store func_addr for FnDef in trans_const_value
This would crash, because the place provides 0 bytes of space for FnDef
2019-02-03 14:11:24 +01:00
bjorn3
07c693b764 Add some patches for libstd 2019-02-03 11:26:44 +01:00
bjorn3
ed9528a104 Misc changes 2019-02-03 11:25:56 +01:00
bjorn3
3308daae9d Update Cargo.lock 2019-02-03 11:08:25 +01:00
dependabot[bot]
3f96ce0d49
Merge pull request #321 from bjorn3/dependabot/cargo/proc-macro2-0.4.27 2019-02-02 13:51:06 +00:00