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
|
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
|
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
|
d94fe1d717
|
Fix calling drop_in_place_real with empty drop glue
fixes #209
|
2018-12-20 14:57:34 +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
|
e83da7533c
|
Move trapping to trap_code.rs
|
2018-11-16 17:35:47 +01:00 |
|
bjorn3
|
a3263bafe0
|
Change some unimplemented! to unimpl!
|
2018-11-13 17:58:42 +01:00 |
|
Dan Gohman
|
7b5f4894f1
|
Change "cton" to "clif".
|
2018-11-12 07:20:42 -08:00 |
|
bjorn3
|
29b4c34c54
|
Rustfmt
|
2018-11-07 13:32:02 +01:00 |
|
bjorn3
|
648f491977
|
Enable feature gate extern_crate_item_prelude
|
2018-11-07 13:29:38 +01:00 |
|
bjorn3
|
438bee5fb1
|
Rustup to rustc 1.32.0-nightly (e6c5cf923 2018-11-04)
|
2018-11-05 18:03:47 +01:00 |
|
bjorn3
|
fc8a6c343a
|
Update Cargo.lock
Also update for cranelift changes.
|
2018-11-03 13:14:28 +01:00 |
|
bjorn3
|
58f076cf38
|
Print pass mode for locals in clif
|
2018-11-02 19:50:30 +01:00 |
|
bjorn3
|
b5dffe9765
|
Rustfmt
|
2018-10-10 19:07:13 +02:00 |
|
bjorn3
|
a1bb16fdc3
|
Use dsl for declaring intrinsic codegen
|
2018-10-05 19:55:06 +02:00 |
|
bjorn3
|
a94dd977bf
|
Move intrinsics codegen to intrinsics.rs
|
2018-10-03 18:21:52 +02:00 |
|
bjorn3
|
6289d212fb
|
Implement atomic_singlethreadfence_*
|
2018-10-03 18:12:15 +02:00 |
|
bjorn3
|
1694b07b87
|
Implement intrinsic init
|
2018-10-02 18:41:16 +02:00 |
|
bjorn3
|
fce5fa5231
|
Rustup to rustc 1.31.0-nightly (de3d640f5 2018-10-01), fix a atomic bug and implement intrinsic bitreverse
|
2018-10-02 18:12:03 +02:00 |
|
bjorn3
|
742a795c78
|
Use FunctionBuilder::call_mem{cpy,move}
|
2018-09-26 15:42:07 +02:00 |
|
bjorn3
|
16e936b93f
|
Rustfmt
|
2018-09-26 15:40:11 +02:00 |
|
bjorn3
|
46581af155
|
Replace an unimplemented! with a bug!
|
2018-09-18 18:46:17 +02:00 |
|
bjorn3
|
a1b8e02a88
|
Rustup to rustc 1.30.0-nightly (cb6d2dfa8 2018-09-16)
|
2018-09-17 18:49:10 +02:00 |
|
bjorn3
|
39fbea8c1b
|
Better error message for unsupported "C" abi args
|
2018-09-16 18:46:19 +02:00 |
|
bjorn3
|
d5bfb76216
|
Implement some atomic intrinsics in a non atomic version
|
2018-09-16 16:01:26 +02:00 |
|
bjorn3
|
086ff67cff
|
Implement returning ! for "C" abi
|
2018-09-16 14:59:49 +02:00 |
|
bjorn3
|
1f1746e2d3
|
Implement intrinsic min_align_of_val
|
2018-09-15 11:14:27 +02:00 |
|
bjorn3
|
6e87a4f16d
|
Rustup to rustc 1.30.0-nightly (2ab3eba30 2018-09-14)
|
2018-09-15 10:44:23 +02:00 |
|
bjorn3
|
0fb7c4d1b9
|
Implement some intrinsics and fix a codegen error
* intrinsic size_of_val for sized types
* intrinsic needs_drop
* incorrect codegen for UnOp::Not for bools
|
2018-09-14 19:49:33 +02:00 |
|
bjorn3
|
59518987ed
|
Implement drop support (fixes #11)
|
2018-09-12 14:40:06 +02:00 |
|
bjorn3
|
6196146ac4
|
Implement trait objects (cc #14)
|
2018-09-08 18:00:06 +02:00 |
|
bjorn3
|
62a0203a5a
|
Rustfmt
|
2018-09-08 17:24:52 +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
|
feee8b2445
|
Misc changes to abi.rs
|
2018-09-08 11:20:15 +02:00 |
|
bjorn3
|
871792d9ab
|
Implement intrinsic size_of_val for slices
|
2018-09-06 18:45:29 +02:00 |
|
bjorn3
|
d549d0f180
|
Update Cargo.lock
|
2018-09-05 19:43:42 +02:00 |
|
bjorn3
|
b5082f7da8
|
Support unsized types
|
2018-08-30 20:21:21 +02:00 |
|
bjorn3
|
0d15d9e5dd
|
Rustup to rustc 1.30.0-nightly (63d66494a 2018-08-23)
|
2018-08-24 14:51:02 +02:00 |
|
bjorn3
|
65641b8872
|
Rustfmt
|
2018-08-22 12:31:45 +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
|
ca59e4405e
|
Reduce verbosity of output
|
2018-08-15 16:17:59 +02:00 |
|
bjorn3
|
a3760040b2
|
Disable some prinln!'s
|
2018-08-15 15:28:08 +02:00 |
|
bjorn3
|
7f2a887c83
|
Use either SimpleJIT or faerie, but not both
|
2018-08-15 14:45:32 +02:00 |
|