summaryrefslogtreecommitdiff
path: root/src/trans/codegen_c.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-11-18Codegen C - Fix bad SwitchValue with signedJohn Hodge1-1/+1
2017-11-18Codegen - Fiddling with MSVC support (not quite there)John Hodge1-20/+1
2017-11-18Codegen C - Various attempts at making MSVC workJohn Hodge1-39/+154
2017-11-18Codegen C - Fiddling with MSVCJohn Hodge1-4/+4
2017-11-05Trans - Calculate sizes, alignment, and representationJohn Hodge1-8/+7
2017-11-05MIR - Use SwitchValue terminatorJohn Hodge1-2/+49
2017-11-01All - Clean up a few minor errors (pointed out in #31)John Hodge1-1/+1
2017-11-01HIR - Refactor enums to only embed a single field (and give variants types)John Hodge1-204/+127
2017-10-14Codegen C - Escape trigraphs in stringsJohn Hodge1-63/+53
2017-09-24LoadCrates - Support loading crates that might collide (and handle name colli...John Hodge1-2/+2
2017-09-23Codegen C - A few MSVC fixesJohn Hodge1-30/+38
2017-09-23Codegen C - Use static when a destructor would be locally defined, extern oth...John Hodge1-3/+15
2017-09-22Trans - Little fixes for MSVC 32-bitJohn Hodge1-6/+34
2017-09-22Trans - MSVC twiddlingJohn Hodge1-3/+31
2017-09-10Const Eval - Evalulate from MIR where possible (avoids BorrowData)John Hodge1-2/+2
2017-09-10Consteval - Remove BorrowOf in favor of BorrowPath/BorrowDataJohn Hodge1-2/+8
2017-09-10Codegen C - Slightly more efficient static string outputJohn Hodge1-5/+11
2017-09-09Codegen C - Omit useless labels and gotos (untested)John Hodge1-2/+82
2017-09-09Codegen C - Cleaner handling of link dirs, fix try intrinsicJohn Hodge1-8/+25
2017-09-08HIR - Store link pathsJohn Hodge1-0/+11
2017-08-20Codegen C - Fix a few bugs with MSVC modeJohn Hodge1-3/+27
2017-08-20Codegen C - Rough support for msvc inline assemblyJohn Hodge1-79/+137
2017-08-19Codegen C - U8 MSVC atomicsJohn Hodge1-0/+4
2017-08-18Trans - VTable unsizing in statics, emit vtables before staticsJohn Hodge1-1/+13
2017-07-25HIR Typecheck - Refactor of markings to keep more informationJohn Hodge1-56/+65
2017-07-16All - Upgrade to rustc 1.19.0 beta (2017-07-08)John Hodge1-5/+140
2017-07-14Codegen C - Attempt at fixing crash associated with non-ZST ZSTsJohn Hodge1-24/+60
2017-07-14Codegen C - Optionally add an unused/dummy field to unit-like typesJohn Hodge1-21/+86
2017-07-09Codegen C - Fix use of removed (empty) variantsJohn Hodge1-14/+25
2017-07-09Codegen C - Possible fix for gcc codegen.John Hodge1-32/+27
2017-07-09Codegen C - MSVC hackery.John Hodge1-2/+25
2017-07-09Codegen C - Fix UBJohn Hodge1-1/+1
2017-07-09All - Fix compilation on gccJohn Hodge1-0/+7
2017-07-09Codegen C - Fix ABI for winapi functions, plan for overriding type representa...John Hodge1-1/+6
2017-07-09Codegen C - Fix cross-compiler alignofJohn Hodge1-17/+11
2017-07-08Codegen+Loading - MSVC support draft (libcore compiles, doesn't load)John Hodge1-123/+601
2017-07-07Codegen C - Rough support for MSVC compatible codeJohn Hodge (bugs)1-40/+107
2017-07-07Trans - Hackery to run MSVCJohn Hodge (bugs)1-4/+78
2017-07-06Misc - Minor MSVC fixesJohn Hodge (bugs)1-1/+1
2017-07-06Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge (bugs)1-623/+844
2017-07-06Codegen C - Very basic start on backend modesJohn Hodge (bugs)1-6/+13
2017-07-06MIR - Add (but don't use) a SwitchValue terminatorJohn Hodge1-1/+8
2017-07-02Codegen C - Fix indenting in destructorsJohn Hodge1-25/+22
2017-07-02Codegen C - (minor) Comment before enum definitionsJohn Hodge1-0/+1
2017-06-22Codegen C - First pass at structured C output (generated, but not compiled)John Hodge1-94/+247
2017-06-18Trans - Starting work on multiple targetsJohn Hodge1-492/+568
2017-06-16MIR - Unify temporaries and variablesJohn Hodge1-21/+12
2017-06-15Codegen C - Fix float precision, disable test broken by fixed precisionJohn Hodge1-18/+14
2017-06-11Codegen C - Fix -INFINITYJohn Hodge1-1/+1
2017-06-11Codegen C - Make all drop glue staticJohn Hodge1-6/+6