summaryrefslogtreecommitdiff
path: root/src/trans/codegen_c.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-01-07Codegen C - Escape strings in type_name, fix destinationJohn Hodge1-1/+1
2017-01-06Codegen C - asm! fiddlingJohn Hodge1-3/+5
2017-01-06Codegen C - Remember to EAT after monomorphJohn Hodge1-1/+3
2017-01-05Codegen C - Fix discriminant_value on non-enums, and LValue::Downcast on unionsJohn Hodge1-3/+15
2017-01-05Codegen C - Fix bad field name for SLICE_PTRJohn Hodge1-1/+1
2017-01-05Codegen C - type_name return type fix, INT64_MIN patchJohn Hodge1-2/+7
2017-01-04Codegen C - Fat pointer derefJohn Hodge1-6/+27
2017-01-04Codegen C - DST fixes, diverging UfcsInherentJohn Hodge1-2/+142
2017-01-03Codegen C - Slice comparison function (for strings and byte slices)John Hodge1-0/+27
2017-01-03Trans C - Enum variant constructor pointersJohn Hodge1-1/+53
2017-01-02MIR - Remove Deref from inputs to RValue::DstMeta/DstPtrJohn Hodge1-4/+2
2017-01-02Codegen C - Down-mask unsigned integer literalsJohn Hodge1-2/+31
2017-01-02Codegen C - Function type prototypesJohn Hodge1-20/+26
2017-01-02Codegen C - Fixed string output, slice borrows in staticsJohn Hodge1-11/+43
2017-01-02Codegen C - Prototype definitions for staticsJohn Hodge1-0/+14
2017-01-02Codegen C - Fixed drop glue fat pointers, integer literalsJohn Hodge1-7/+56
2017-01-02Codegen C - Defer emission of box drop glueJohn Hodge1-69/+46
2017-01-02Codegen C - Forward declare drop glue used in box destructorJohn Hodge1-3/+50
2017-01-02Codegen C - Add forward decl of arrays, fix array pointersJohn Hodge1-8/+10
2017-01-02Trans Enumerate - Enumerate resultant types from LValue::DerefJohn Hodge1-2/+4
2017-01-01Trans - Tweaks to forward declarationsJohn Hodge1-2/+2
2017-01-01Trans - Support forward declaration of typesJohn Hodge1-0/+34
2017-01-01MIR/Trans - Fix DST field borrow hackJohn Hodge1-7/+23
2017-01-01Codegen C - Handle function pointers cast to raw pointers in literalsJohn Hodge1-2/+18
2017-01-01Codegen C - Array destructor fixJohn Hodge1-1/+1
2017-01-01Codegen C - A couple more intrinsicsJohn Hodge1-0/+9
2017-01-01Codegen C - Fix some end-of-nonvoid errors from clangJohn Hodge1-1/+2
2017-01-01Codegen C - UnionsJohn Hodge1-14/+119
2016-12-31MIR Dump - Clean string printingJohn Hodge1-4/+14
2016-12-31Codegen C - Replace span-based BUG/TODOs with MIR-based onesJohn Hodge1-19/+18
2016-12-31Codegen C - Better error message for TODOJohn Hodge1-1/+1
2016-12-31Codegen C - More intrinsics and erased type handlingJohn Hodge1-22/+98
2016-12-31MIR - Fix a bit of invalid MIRJohn Hodge1-4/+4
2016-12-31Codegen C - Handling for erased typesJohn Hodge1-8/+35
2016-12-31Codegen C - More complete unsized type handlingJohn Hodge1-29/+49
2016-12-30Trans - FiddlingJohn Hodge1-9/+9
2016-12-30Trans C - Extra intrinsicsJohn Hodge1-0/+46
2016-12-30Trans C - Move intrinsics to a functionJohn Hodge1-216/+221
2016-12-30Trans C - Little fixesJohn Hodge1-14/+33
2016-12-29Codegen C - (minor) Assert that Call::Value is a functionJohn Hodge1-0/+1
2016-12-25Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge1-53/+53
2016-12-24No more tears!ubsan1-55/+55
No more DOS line endings or trailing whitespace either
2016-12-24Trans C - Box drops (deep and shallow)John Hodge1-16/+57
2016-12-24Trans - Generate Box destructorsJohn Hodge1-0/+13
2016-12-24Trans C - Fix some bad atomicsJohn Hodge1-0/+8
2016-12-18Trans C - Reduce size of generated code a littleJohn Hodge1-9/+13
2016-12-18Trans C - Emit `->` instead of `(*val).`John Hodge1-2/+2
2016-12-18Trans C - Extra intrinsics and destructor fixJohn Hodge1-2/+43
2016-12-18Trans - Enumerate drop impls (broken)John Hodge1-2/+25
2016-12-18Trans C - Rough destructorsJohn Hodge1-1/+162