311 Commits

Author SHA1 Message Date
bjorn3
8a586eb6cb Rustup to rustc 1.33.0-nightly (68fe5182c 2019-01-05) 2019-01-06 15:27:20 +01:00
bjorn3
144ff955d6 Use layout.abi 2019-01-02 14:03:56 +01:00
bjorn3
a15af1ccba Rename load_value to load_scalar and make it support all Abi::Scalar types 2019-01-02 13:39:02 +01:00
bjorn3
c7101bbfd4 Some cleanup of abi.rs 2019-01-02 12:20:32 +01:00
bjorn3
16e43c9d21 Fix unsize coercions and the size_of_val and min_align_of_val intrinsics for custom dst's 2018-12-29 15:36:17 +01:00
bjorn3
8f2ca706c2 Setup env_logger 2018-12-29 12:04:35 +01:00
bjorn3
bebaa83c4a Add 'set is_pic' to clif files 2018-12-28 18:48:47 +01:00
bjorn3
8561349ece Only build clif comments in debug mode 2018-12-28 17:09:38 +01:00
bjorn3
56133d1b18 Fix release mode 2018-12-28 15:18:35 +01:00
bjorn3
3e40f150d0 Add some more clif comments 2018-12-27 10:59:01 +01:00
bjorn3
af78c9a10e Reduce duplication in abi.rs a bit 2018-12-26 11:15:42 +01:00
bjorn3
2c25b29c9c Simplify argument storage 2018-12-25 16:54:41 +01:00
bjorn3
7ea7d021ca Rustup to rustc 1.33.0-nightly (ddab10a69 2018-12-23) 2018-12-24 14:50:18 +01:00
bjorn3
3d05ff922c Use the linkage and visibility produced by tcx.collect_and_partition_mono_itemscc #209 2018-12-23 19:41:35 +01:00
bjorn3
0b4ede39e5 Add pretty param and local info comments to clif 2018-12-22 18:21:30 +01:00
bjorn3
9882576497 Improve debug messages in generated clif files 2018-12-22 18:21:30 +01:00
bjorn3
64d4257387 Rustup to rustc 1.33.0-nightly (09d6ab90e 2018-12-20) 2018-12-21 13:45:06 +01:00
bjorn3
d94fe1d717 Fix calling drop_in_place_real with empty drop glue
fixes #209
2018-12-20 14:57:34 +01:00
bjorn3
6fa3140222 Introduce CodegenCx 2018-12-18 18:28:02 +01:00
bjorn3
0530d5225f Disable probestack 2018-12-15 17:17:10 +01:00
bjorn3
2d14dc9f1e Rustup cg_ssa to rustc 1.32.0-nightly (f4a421ee3 2018-12-13) 2018-12-14 13:42:26 +01:00
bjorn3
c8d435aade Put allocator shim in a different object file 2018-12-13 15:24:14 +01:00
bjorn3
77e3612581 Move emit_module a bit up 2018-12-13 15:24:14 +01:00
bjorn3
978add3698 Convenience functions for creating and emitting faerie modules 2018-12-13 15:24:14 +01:00
bjorn3
bc687ee992 Prepare for emitting separate object files for each codegen unit 2018-12-13 15:24:14 +01:00
bjorn3
4d0dba944c Some refactorings for codegen_mono_items 2018-12-12 16:01:34 +01:00
bjorn3
94eac08a48 Extract TargetIsa building to a separate function 2018-12-12 15:11:15 +01:00
bjorn3
dc2f32f985 Change the CallConv for "rust" abi functions to "SystemV" to match the "C" abi
The allocator machinery seems to mix "rust" and "C" abi function defs and calls.
2018-12-11 15:13:45 +01:00
bjorn3
bd4b307b42 Support dylibs 2018-12-10 15:10:12 +01:00
bjorn3
2cff2d3328 Rustup to rustc 1.32.0-nightly (4a45578bc 2018-12-07) 2018-12-08 10:48:35 +01:00
bjorn3
3c364134ec Restructure scripts and add flamegraph generator 2018-12-03 18:50:00 +01:00
bjorn3
b649180def Rustup to rustc 1.32.0-nightly (21f268495 2018-12-02) 2018-12-03 18:00:09 +01:00
bjorn3
a8d52d13f4 Some small changes 2018-12-01 11:49:44 +01:00
bjorn3
3f423c0933 Implement cast C enum -> int 2018-11-30 18:28:33 +01:00
bjorn3
a16e85707d Rustup to rustc 1.32.0-nightly (3e90a12a8 2018-11-29) 2018-11-30 18:08:08 +01:00
bjorn3
d447f77f03 Rustup to rustc 1.32.0-nightly (6acbb5b65 2018-11-25) 2018-11-26 17:51:28 +01:00
bjorn3
95539518ec Rustfmt 2018-11-24 12:47:53 +01:00
bjorn3
830522af6d Implement BackendTypes for FunctionCx 2018-11-24 11:42:57 +01:00
bjorn3
6559029b9d Use rustc_codegen_ssa::CodegenResults 2018-11-24 11:25:11 +01:00
bjorn3
8e28d80a3d Better use of CodegenResults::modules 2018-11-24 11:25:11 +01:00
bjorn3
f4ae9a4dbb Rustup to rustc 1.32.0-nightly (1f57e4841 2018-11-23) 2018-11-24 11:23:49 +01:00
bjorn3
06202c007c Fix some 2018 edition idioms 2018-11-17 18:23:52 +01:00
bjorn3
16334be18e Remove a workaround for icmp.i8/i16 not having an encoding 2018-11-17 15:02:57 +01:00
bjorn3
b2f7386f7e Fix fn(&T) -> for<'l> fn(&'l T) write 2018-11-17 11:55:49 +01:00
bjorn3
10ad950130 Fix static linkage 2018-11-16 20:40:39 +01:00
bjorn3
2c38313403 Move unimpl! macro to unimpl.rs 2018-11-16 19:53:27 +01:00
bjorn3
b2a8996f88 Implement rotate_{left,right} intrinsics 2018-11-16 19:50:23 +01:00
bjorn3
8233ade789 Set cranelift opt_level based on -Copt-level 2018-11-16 18:13:43 +01:00
bjorn3
e83da7533c Move trapping to trap_code.rs 2018-11-16 17:35:47 +01:00
bjorn3
faf974b2e6 Rustup to rustc 1.32.0-nightly (6b9b97bd9 2018-11-15) 2018-11-16 17:20:00 +01:00