25 Commits

Author SHA1 Message Date
bjorn3
2ba1f35baf Be honest about data mutability 2018-08-18 10:46:29 +02:00
bjorn3
eb89830f21 Rustfmt 2018-08-16 20:09:26 +02:00
bjorn3
65fa8eddbb Fix trait method calls 2018-08-15 16:33:19 +02:00
bjorn3
a3760040b2 Disable some prinln!'s 2018-08-15 15:28:08 +02:00
bjorn3
178aa32b0c Make FunctionCx generic over Backend 2018-08-14 20:31:16 +02:00
bjorn3
f67ad9c120 Refactoring 2018-08-14 19:42:22 +02:00
bjorn3
4ee2a864b5 Rustfmt 2018-08-13 19:03:30 +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
c7ed1ce033 Rustfmt 2018-08-13 18:04:39 +02:00
bjorn3
d331758f6d Add helper function to pop an element from a HashSet 2018-08-13 17:22:24 +02:00
bjorn3
4615359e86 Define data for all allocs during finalization 2018-08-13 16:58:07 +02:00
bjorn3
b707da40a5 Change todo map to set of alloc id's in constant.rs 2018-08-13 16:26: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
c40788c1b2 Simplify define_global_for_alloc_id 2018-08-13 15:34:18 +02:00
bjorn3
1031c659e0 Refactoring of constant.rs in preparation for static codegen 2018-08-13 12:13:43 +02:00
bjorn3
46ebc2bc5c Make the hello world example runnable 2018-08-11 15:05:57 +02:00
bjorn3
f001808249 Run rustfmt 0.9.0-nightly (69ad879 2018-07-27) 2018-07-31 12:25:16 +02:00
bjorn3
37b61e0ca6 Rustup to rustc 1.29.0-nightly (866a71325 2018-07-29) 2018-07-30 16:57:40 +02:00
bjorn3
e40d025843 Eval const values 2018-07-22 18:30:53 +02:00
bjorn3
0350f2faa9 Don't panic on intrinsics 2018-07-20 14:20:37 +02:00
bjorn3
5f57ac5725 Workaround a bug 2018-07-18 16:29:40 +02:00
bjorn3
9e45cc490f Monomorphize type of constant 2018-07-18 13:46:56 +02:00
bjorn3
af3234cfd7 [WIP] Add arbitrary constant support 2018-07-16 15:13:37 +02:00
bjorn3
4694fa4f3d Move const val handling to constant.rs 2018-07-14 16:45:20 +02:00