Commit Graph

2532 Commits

Author SHA1 Message Date
bjorn3
0c592a6bb1 Add some warnings 2018-07-14 12:07:35 +02:00
bjorn3
92b14263a4 Update to cranelift 0.14 2018-07-14 12:04:15 +02:00
bjorn3
aee8d75057 Bug on TyParam in cton_type_from_ty and print mir before creating function§ 2018-06-30 18:55:01 +02:00
bjorn3
4beb931641 Use DefPathBasedNames 2018-06-30 18:22:20 +02:00
bjorn3
24e2eb25d4 Fix some warnings 2018-06-30 16:38:49 +02:00
bjorn3
bb017326be Move some code around 2018-06-30 16:37:02 +02:00
bjorn3
7ca1f256cc Remove some cretonne bug workarounds and add ir comments 2018-06-30 16:27:11 +02:00
bjorn3
4bff31e36d Add drop shim 2018-06-28 20:27:43 +02:00
bjorn3
d8c5152f30 Nicer verifier errors 2018-06-28 20:13:51 +02:00
bjorn3
e7a6890140 Implement Rvalue::Ref 2018-06-27 16:08:56 +02:00
bjorn3
e42ab29517 Implement some UnOp's 2018-06-27 15:57:52 +02:00
bjorn3
518aa42b49 Implement all binops for integers 2018-06-27 15:47:58 +02:00
bjorn3
5508d44e2b Support bool constants and fix a u8 const error 2018-06-27 15:23:40 +02:00
bjorn3
75430b22e3 Be honnest about {u/i}128 support 2018-06-26 20:30:47 +02:00
bjorn3
aee975e0e2 Fix some bugs 2018-06-26 20:29:32 +02:00
bjorn3
a7e674006c Store TyLayout inside CValue and CPlace 2018-06-26 20:23:51 +02:00
bjorn3
bdad2d427d Implement SetDiscriminant 2018-06-24 14:29:56 +02:00
bjorn3
c53d58f923 Implement some traits for FunctionCx 2018-06-24 14:25:29 +02:00
bjorn3
f62381865f Better monomorphization 2018-06-24 14:01:41 +02:00
bjorn3
0479604be1 Implement some more things 2018-06-23 18:54:15 +02:00
bjorn3
6de95c89d9 Implement enums 2018-06-23 18:26:54 +02:00
bjorn3
b046369040 Add LICENSE-MIT 2018-06-22 19:34:27 +02:00
bjorn3
312297fe00
Create LICENSE-APACHE 2018-06-22 19:33:35 +02:00
bjorn3
c7e7e1fe0f Split common utils out of base.rs 2018-06-22 19:18:53 +02:00
bjorn3
c0dce914e3 Mostly fix it 2018-06-22 19:08:59 +02:00
bjorn3
08d17c9ece Better rvalue handling 2018-06-20 15:29:50 +02:00
bjorn3
4adba2553b Use pass by value fro simple simple types 2018-06-20 15:15:28 +02:00
bjorn3
9d40131d81 Add cretonne_module 2018-06-19 19:51:29 +02:00
bjorn3
9f4f9eb1d7 Implement indirect calls 2018-06-18 18:39:07 +02:00
bjorn3
7680a5cdde Implement direct calls 2018-06-17 19:10:06 +02:00
bjorn3
653c67cb6d Use verifier, perform assignment and field projection, fix branching 2018-06-17 18:46:11 +02:00
bjorn3
4d615dba0e Initial commit 2018-06-17 18:05:11 +02:00