Commit Graph

8 Commits

Author SHA1 Message Date
bjorn3
190e36a5f8 Make everything in example.rs public 2020-07-11 11:02:23 +02:00
bjorn3
15b9834d7d Don't copy ByRef passed types to local stack slot when not necessary
Eg when the local is immutable **and** the type is freeze.

This makes the simple raytracer runtime benchmark 1% faster than cg_llvm
without optimizations. Before it was 2% slower.

cc #691
cc #684
2019-08-30 15:42: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
43f4dc6220 Fix some warnings 2019-02-06 18:49:59 +01:00
bjorn3
0b4ede39e5 Add pretty param and local info comments to clif 2018-12-22 18:21:30 +01:00
bjorn3
ab57af4e6a Fix projection of sized field in unsized type 2018-10-06 11:21:18 +02:00
bjorn3
69fe4d6f92 Workaround some missing encodings in cranelift 2018-09-30 16:33:55 +02:00
bjorn3
f127042639 Rename examples directory to example to prevent rls trying to compile its content 2018-09-22 12:15:56 +02:00