Commit Graph

28 Commits

Author SHA1 Message Date
bjorn3
e7ca9a186b Fix jit 2018-09-09 14:45:23 +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
871792d9ab Implement intrinsic size_of_val for slices 2018-09-06 18:45:29 +02:00
bjorn3
8adc744645 Implement Box rvalue 2018-09-04 19:04:25 +02:00
bjorn3
8181149de2 Replace infinite loop in mini_core::panic with intrinsic::abort 2018-09-02 15:22:25 +02:00
bjorn3
9878eea61c Implement indexing for slices 2018-08-30 20:22:35 +02:00
bjorn3
12282a8ebc Implement unsize array -> slice and trait object -> trait object 2018-08-30 20:21:58 +02:00
bjorn3
b5082f7da8 Support unsized types 2018-08-30 20:21:21 +02:00
bjorn3
871be2a469 Codegen entry wrapper (fixes #13) 2018-08-17 13:21:03 +02:00
bjorn3
7f2a8f8a66 Disable some example which don't compile yet 2018-08-15 14:49:36 +02:00
bjorn3
0f26781a86 Support simplejit and faerie at the same time 2018-08-14 20:58:24 +02:00
bjorn3
4b10e6e613 Workaround missing encoding for icmp.i8 2018-08-14 11:58:39 +02:00
bjorn3
b9d7164eff Fix and test checked binops 2018-08-13 19:14:55 +02:00
bjorn3
6d1f0068d1 Implement nested and mutable statics (fixes #9) 2018-08-13 19:02:42 +02:00
bjorn3
7f62fedeb8 Implement basic statics (#9) 2018-08-13 18:35:30 +02:00
bjorn3
49d24a6333 Remove elements from the todo list the correct way in constant.rs 2018-08-13 16:03:01 +02:00
bjorn3
9a8c25ae75 Improve mini_core_hello_world.rs 2018-08-11 14:52:00 +02:00
bjorn3
e9422fd4d4 Implement Rvalue::Aggregate(AggregateKind::Array, ...) 2018-08-09 11:42:35 +02:00
bjorn3
9a2b1d4ac3 Implement float -> float and int -> float casts 2018-08-09 11:16:46 +02:00
bjorn3
6c86274943 Implement raw ptr -> usize cast 2018-08-09 11:07:10 +02:00
bjorn3
c4705af4e2 Implement intrinsics {ctlz,cttz}{,_nonzero} and ctpop 2018-08-08 14:39:46 +02:00
bjorn3
1305d1ef23 Implement Rvalue::Repeat 2018-08-08 12:30:25 +02:00
bjorn3
efd203aa0b Implement indexing for arrays 2018-08-08 12:22:16 +02:00
bjorn3
ece497cc84 Some misc changes 2018-08-08 10:39:10 +02:00
bjorn3
f001808249 Run rustfmt 0.9.0-nightly (69ad879 2018-07-27) 2018-07-31 12:25:16 +02:00
bjorn3
82dbd07806 Add support for calling C abi functions 2018-07-30 18:20:37 +02:00