bjorn3
b0ecbf14a2
Sign extend ints in trans_const_value
2019-03-11 20:44:05 +01:00
bjorn3
d9403bf3fd
Implement weak linkage for statics
2019-03-11 20:36:29 +01:00
bjorn3
bfe8c89d41
Remove "Saved incremental data" warning
2019-03-11 20:06:23 +01:00
bjorn3
27e9cfc79f
Rustup to rustc 1.35.0-nightly (9d71ec135 2019-03-10)
2019-03-11 20:02:47 +01:00
bjorn3
14d66b279c
Update cranelift, faerie and target-lexicon
2019-03-08 17:55:51 +01:00
bjorn3
4d4e06cbe5
Fix atomic intrinsics
2019-03-06 21:09:35 +01:00
bjorn3
354eb0da9f
Fix write_cvalue type assert for late bound regions in trait objects
2019-03-06 20:57:14 +01:00
bjorn3
e09ae25299
Remove 0006-alloc-Disable-some-unsupported-stuff.patch
2019-03-06 20:56:53 +01:00
bjorn3
11af20b156
Fix panic with reported const_eval promoted error
2019-03-06 20:56:15 +01:00
bjorn3
a5fdefe45a
Fix trans_get_discriminant for uninhabited types
2019-03-06 20:55:28 +01:00
bjorn3
c2095c4afe
Rustup to rustc 1.35.0-nightly (87a436377 2019-03-03)
2019-03-04 18:57:09 +01:00
bjorn3
2ce5387b7c
Rename load_value_pair to load_scalar_pair and fix dynamic dispatch with arbitrary self types
2019-03-03 12:19:55 +01:00
bjorn3
57feadcc13
Replace functions taking or returning u128 or i128 with a trap
...
This makes it possible to remove most of 0002-Disable-u128-and-i128-in-libcore.patch.
The rest has to be kept because of u128 and i128 only being used in the function body.
2019-03-03 11:45:52 +01:00
bjorn3
e77f1185a1
Improve unimpl! docs
2019-03-03 11:02:32 +01:00
bjorn3
23a9dcd947
Make CastKind::Misc handling more clean and general
2019-03-02 20:47:15 +01:00
bjorn3
89666d9818
Implement CastKind::ClosureFnPointer
2019-03-02 20:25:08 +01:00
bjorn3
25f3ef5ff9
Implement ProjectionElem::Subslice
2019-03-02 20:11:31 +01:00
bjorn3
99eb418f19
Rustup to rustc 1.34.0-nightly (c1d2d83ca 2019-03-01)
2019-03-02 12:18:41 +01:00
bjorn3
3d81b76566
Rustup to rustc 1.34.0-nightly (350674b71 2019-02-28)
2019-03-01 18:55:20 +01:00
bjorn3
6c88af3438
Rustup to rustc 1.34.0-nightly (7e001e5c6 2019-02-27)
2019-02-28 10:55:21 +01:00
bjorn3
c8b51653f3
Rustup to rustc 1.34.0-nightly (00aae71f5 2019-02-25)
2019-02-26 11:34:38 +01:00
bjorn3
14750ece1a
Use Instance::resolve_for_vtable instead of Instance::resolve for vtables
2019-02-23 10:30:15 +01:00
bjorn3
f02490d960
Rustfmt
2019-02-21 15:06:09 +01:00
bjorn3
b4eff78a9e
Pass command-line arguments to JITed function
...
Cherry-picked from f1f35405e15ca1b77425514b04b96b2749231899 by
@milkey-mouse
2019-02-18 18:53:18 +01:00
bjorn3
b7f2a722c9
Update gimli
2019-02-18 18:32:40 +01:00
bjorn3
ea10842d95
Update cranelift
2019-02-18 18:26:59 +01:00
bjorn3
bab8113954
Fix discriminant_value intrinsic
...
Fixes #349
2019-02-16 17:18:51 +01:00
bjorn3
ccf07adbfb
Implement isize -> raw-ptr cast
2019-02-16 16:37:30 +01:00
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
06dd020446
Rustup to rustc 1.34.0-nightly (a9410cd1a 2019-02-15)
2019-02-16 12:35:56 +01:00
bjorn3
b05c457257
Use correct alignment for CValue::ByRef for a ZST
2019-02-13 14:32:30 +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
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
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
bjorn3
c8f19f1cb2
Make codegen_call_inner a bit more readable
2019-02-07 20:28:55 +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
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