209 Commits

Author SHA1 Message Date
bjorn3
44792f1089 Rustup to rustc 1.40.0-nightly (084beb83e 2019-09-27) 2019-09-28 14:06:12 +02:00
bjorn3
6ea4cbdf1b Rustup to rustc 1.39.0-nightly (a6946a817 2019-09-13) 2019-09-14 11:21:18 +02:00
bjorn3
bfb49e7d19 Rustup to rustc 1.39.0-nightly (6e19f3f38 2019-09-06) 2019-09-07 10:51:00 +02:00
Atul Bhosale
f481a4b685
Format code using 'cargo fmt' 2019-08-31 22:58:09 +05:30
bjorn3
6127632c76 Use f{32,64}const insts instead of loading from a global value 2019-08-28 16:38:53 +02:00
bjorn3
b9dc950a11 Rustup to rustc 1.39.0-nightly (9b91b9c10 2019-08-26) 2019-08-27 11:01:36 +02:00
bjorn3
bb634f3c88 Always use Linkage::Import for relocations targeting a static 2019-08-21 14:57:12 +02:00
bjorn3
0e35e4ea19 Set correct linkage for statics 2019-08-19 16:27:21 +02:00
bjorn3
ce860e5fde Fix cross crate static duplicate codegen 2019-08-19 16:26:20 +02:00
bjorn3
2a20cc0b94 Use anonymous lifetimes where possible 2019-08-18 16:52:07 +02:00
bjorn3
43e68319fa Rustup to rustc 1.39.0-nightly (2111aed0a 2019-08-17) 2019-08-18 11:30:13 +02:00
bjorn3
21141eb235 Don't keep alloc_map locked while calling data_id_for_static
Fixes #670
2019-08-17 12:42:57 +02:00
bjorn3
2558bf2f6b Workaround for missing #[rustc_args_required_const(..)] support
cc #666
2019-08-16 16:04:50 +02:00
bjorn3
11b2b86b08 Fix some rustc tests
* Check for `#[rustc_error]` attribute.
* Use the same weak static type error message as cg_llvm
2019-08-13 19:42:16 +02:00
bjorn3
19a3bfec3b Fix constant alignment on macOS 2019-08-07 15:26:29 +02:00
bjorn3
bd7c119e4b Rustup to rustc 1.38.0-nightly (6a91782b7 2019-08-06) 2019-08-07 12:35:49 +02:00
bjorn3
a1dd460714 Rustup to rustc 1.38.0-nightly (6e0d27d93 2019-08-03) 2019-08-04 13:42:40 +02:00
bjorn3
c4af588f72 Correctly align all allocs
Fixes #348
2019-08-01 11:49:03 +02:00
bjorn3
69526d464f Implement some float simd intrinsics 2019-07-30 14:37:20 +02:00
bjorn3
5180becc7c Fix 128bit CValue::const_val 2019-07-26 11:30:39 +02:00
bjorn3
02eeaad10a Rustup to rustc 1.38.0-nightly (71f9384e3 2019-07-12) 2019-07-13 11:07:07 +02:00
bjorn3
b82472184d Rustup to rustc 1.38.0-nightly (dfd52ba6a 2019-07-06) 2019-07-07 11:59:11 +02:00
bjorn3
d425116bdc Implement some intrinsics 2019-06-23 16:36:14 +02:00
bjorn3
dd15051f5a Rustup to rustc 1.37.0-nightly (de02101e6 2019-06-22) 2019-06-23 10:47:16 +02:00
bjorn3
4d406cdcad Rustup to rustc 1.37.0-nightly (0dc9e9c10 2019-06-15) 2019-06-16 11:13:49 +02:00
bjorn3
6d1bc088a7 Rustup to rustc 1.37.0-nightly (2887008e0 2019-06-12) 2019-06-13 20:44:40 +02:00
bjorn3
089e75ec42 Encapsulate CPlace constructors 2019-06-11 16:30:47 +02:00
bjorn3
d6e07cfcc8 Encapsulate CValue and CPlace creation 2019-06-11 15:32:30 +02:00
bjorn3
d8d405e85b Rustup to rustc 1.37.0-nightly (991c719a1 2019-06-08) 2019-06-09 15:16:45 +02:00
bjorn3
161c8aa5cf Rustup to rustc 1.37.0-nightly (7cdaffd79 2019-06-05) 2019-06-06 20:31:09 +02:00
bjorn3
d3dbf358ae Rustup to rustc 1.37.0-nightly (03ee55bb1 2019-06-01) 2019-06-02 12:06:02 +02:00
bjorn3
b625e56488 Rustup to rustc 1.37.0-nightly (3ade426ed 2019-05-30) 2019-05-31 10:56:55 +02:00
bjorn3
610f377b7d Rustup to rustc 1.36.0-nightly (f49269398 2019-05-25) 2019-05-26 10:20:35 +02:00
bjorn3
98dae86d21 Update cranelift 2019-05-04 16:15:20 +02:00
bjorn3
8c2bd3ec64 Rustup to rustc 1.36.0-nightly (e938c2b9a 2019-04-23) 2019-04-24 16:35:00 +02:00
bjorn3
dd21922f31 Rustup to rustc 1.36.0-nightly (3c3d3c177 2019-04-17) 2019-04-18 19:06:59 +02:00
bjorn3
c0ffc422ab Print message when reaching trap 2019-04-10 17:56:44 +02:00
bjorn3
a3f7b5da86 Rustup to rustc 1.35.0-nightly (237bf3244 2019-03-28) 2019-03-29 19:33:12 +01:00
bjorn3
b9295f1efd Rustup to rustc 1.35.0-nightly (fbd34efb3 2019-03-26) 2019-03-27 17:45:20 +01:00
bjorn3
a715c79263 Rustup to rustc 1.35.0-nightly (82e2f3ec2 2019-03-20) 2019-03-21 20:24:46 +01:00
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
11af20b156 Fix panic with reported const_eval promoted error 2019-03-06 20:56:15 +01:00
bjorn3
c8b51653f3 Rustup to rustc 1.34.0-nightly (00aae71f5 2019-02-25) 2019-02-26 11:34:38 +01:00
bjorn3
f02490d960 Rustfmt 2019-02-21 15:06:09 +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
19f9810a0f Rustup to rustc 1.34.0-nightly (0b7af2668 2019-02-10) 2019-02-11 15:10:28 +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
00e6462334 Fix offset addend mixup 2019-01-26 17:40:33 +01:00