about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-08-19Use move semantics when returning a local varMarijn Haverbeke-1/+13
(Since the variable won't be used after return anyway.)
2011-08-19Temporary work-around for issue #843Marijn Haverbeke-2/+3
2011-08-19Revert "Disable warnings for unused function arguments. Temporary hack."Tim Chevalier-6/+1
This reverts commit 1ec2211a98aac3f4444301f44eba608d2df818c1.
2011-08-19Disable warnings for unused function arguments. Temporary hack.Tim Chevalier-1/+6
2011-08-18Don't pretty-print trailing whitespace for blank lines inside block commentsBrian Anderson-2/+10
2011-08-18Try harder to disambig blocks followed by various exprs in pprust. Closes #840Brian Anderson-15/+74
As it turns out, it's not just unops we need to worry about. Also tuples and anything that requires parens.
2011-08-18Merge remote-tracking branch 'graydon/master'Michael Sullivan-1/+3
2011-08-18rustc: Only emit gc root intrinsic calls if the GC flag is on, to work ↵Patrick Walton-1/+3
around #836
2011-08-18Kind check tuples. Closes #841.Michael Sullivan-0/+7
2011-08-18Some cleanup in ty_to_str.Michael Sullivan-30/+27
2011-08-18Print tag names in type error messages. Closes #834.Michael Sullivan-14/+31
2011-08-18Handle sequential let semantics properly in typestateTim Chevalier-16/+37
Closes #824
2011-08-18CommentsTim Chevalier-1/+2
2011-08-18Kill another case of a spurious blank line. Closes #809.Graydon Hoare-1/+1
2011-08-18Get rid of equal_type_structures. Closes #514.Michael Sullivan-184/+1
2011-08-18More misc ivec->vec renamingBrian Anderson-5/+5
2011-08-18Rename T_vec to T_evecBrian Anderson-3/+3
2011-08-18Rename various things from ivec to vecBrian Anderson-12/+12
2011-08-18Change ast::ty_ivec, ty::ty_ivec to ty_vecBrian Anderson-47/+47
2011-08-18Rename some vec upcalls and trans functions from vec* to evec*Brian Anderson-9/+11
2011-08-18Remove upcall_new_vecBrian Anderson-4/+0
2011-08-18Remove ast::ty_vecBrian Anderson-157/+5
2011-08-18Remove seq_kind from ast::expr_vecBrian Anderson-34/+27
2011-08-18Simplify the _rust_main/rust_start interfaceBrian Anderson-14/+15
rust_start will always call _rust_main with the command line args, and it is _rust_main's responsibility to free the args ivec heap. _rust_main will be generated slightly differently depending on whether main takes an ivec or not: if so then it's just passed through to main, otherwise it frees the ivec directly.
2011-08-18Continue transition to an ivec-only mainBrian Anderson-75/+19
Only generate a single main function. Rename rust_start_ivec to rust_start, leaving a transitional rust_start_ivec in place.
2011-08-18Pretty-print ivecs as []Brian Anderson-5/+1
2011-08-18Fix long lineMarijn Haverbeke-1/+2
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-184/+179
This should make the compilation process a bit less noisy.
2011-08-18Don't warn about unused vars whose name starts with _Marijn Haverbeke-2/+3
Closes #832
2011-08-17rustc: Stub stack map generation machineryPatrick Walton-34/+115
2011-08-17rustc: Use "rust" GC in Rust functionsPatrick Walton-0/+1
2011-08-17rustc: Use obstacks in lieu of dynamically-allocated frames only when the ↵Patrick Walton-5/+15
frame is actually dynamically-sized
2011-08-17rustc: Use explicit return blocksPatrick Walton-30/+36
2011-08-17Revert "rt: Use obstacks in lieu of dynamically-sized frames"Patrick Walton-27/+21
This reverts commit cc5fcfce89312042e52401eb883160ebf289235f.
2011-08-17rustc: Remove dead i2p functionPatrick Walton-4/+0
2011-08-17rt: Use obstacks in lieu of dynamically-sized framesPatrick Walton-21/+27
2011-08-17Track arguments in typestateTim Chevalier-9/+28
Add the infrastructure for arguments -- as well as local vars -- to be deinitialized with move-mode calls. Address Issue #819
2011-08-17Stop parsing old-style vec typesBrian Anderson-5/+0
2011-08-17Trivial commit to test github AMQP hookGraydon Hoare-1/+1
2011-08-17Trivial commit to test github AMQP hookGraydon Hoare-1/+0
2011-08-17rustc: Add missing "bcx = "Patrick Walton-1/+1
2011-08-17rustc: Run obstack cleanups at the end of each functionPatrick Walton-6/+30
2011-08-17rustc: Mark an obstack fencepost when entering a dynamically-sized framePatrick Walton-12/+13
2011-08-17rustc: Add the dynastack upcalls to upcall.rsPatrick Walton-2/+11
2011-08-17Refactor resolve_importBrian Anderson-42/+13
Issue #817
2011-08-17Refactor resolve_importBrian Anderson-43/+47
Issue #817
2011-08-17Remove unused case in resolveBrian Anderson-4/+0
Issue #817
2011-08-17Refactor import lookup in middle:resolveBrian Anderson-10/+14
Issue #817
2011-08-17Allow multiple imports in a single statementBrian Anderson-3/+98
Like so: import foo::{bar, baz}; Issue #817
2011-08-17Refactor ast::view_item to differentiate between [ident]s and pathsBrian Anderson-2/+6