about summary refs log tree commit diff
path: root/src/rustc/middle/trans
AgeCommit message (Collapse)AuthorLines
2012-11-07Rename src/rustc to src/librustc. Use the driver crateBrian Anderson-17016/+0
2012-11-06rustc: reuse const vals, translate fn paths as consts. Close #2530.Graydon Hoare-24/+33
2012-11-06Cleanup how we handle proto in types, remove unsound subtypingNiko Matsakis-113/+104
Fixes #1896 which was never truly fixed, just masked. The given tests would have failed had they used `~fn()` and not `@fn()`. They now result in compilation errors. Fixes #2978. Necessary first step for #2202, #2263.
2012-11-05rustc: Stop declaring unused upcallsBrian Anderson-2/+1
2012-11-05rustc: Implement deriving involving generic bounded traits. r=brsonPatrick Walton-8/+23
2012-11-05rustc: Implement parsing and typechecking for "once fn"Patrick Walton-0/+3
2012-11-02rustc: Implement ~Trait. r=nmatsakisPatrick Walton-25/+80
2012-11-02rustc: Implement dereference via unary '*' for structs. r=nmatsakisPatrick Walton-0/+35
2012-11-02rustc: Implement translation of pattern matching for tuple structs and ↵Patrick Walton-32/+176
unit-like structs. r=nmatsakis
2012-10-31rustc: Swap argument order in drop_and_cancel_cleanBrian Anderson-2/+2
2012-10-31Merge remote-tracking branch 'vertexclique/incoming'Brian Anderson-1/+7
2012-11-01change function and place in expr.rsMahmut Bulut-20/+7
2012-10-30Preserve parenthesization in the ASTTim Chevalier-1/+14
Maintain explicit "paren" nodes in the AST so we can pretty-print without having to guess where parens should go. We may revisit this in the future. r=graydon
2012-10-30* dropnzero_val fn addedMahmut Bulut-1/+20
* zero-mem for not needed drop situation placed in Ignore
2012-10-30rustc: Translate "deriving" for monomorphic intra-crate enums. r=brsonPatrick Walton-38/+182
2012-10-29Merge pull request #3871 from pcwalton/masterPatrick Walton-22/+184
rustc: Translate monomorphic intra-crate automatically-derived method…
2012-10-27Remove unnecessary suffixesTim Chevalier-1/+1
2012-10-26rustc: Translate monomorphic intra-crate automatically-derived methods that ↵Patrick Walton-22/+184
follow the "eq" format
2012-10-25rustc: Translate and check exhaustiveness of struct-like enum variant ↵Patrick Walton-3/+63
patterns. r=nmatsakis
2012-10-25rustc: Translate tuple struct constructorsPatrick Walton-9/+100
2012-10-24Long linesBrian Anderson-6/+6
2012-10-24adjust commentsNiko Matsakis-3/+36
2012-10-23rustc: Implement construction of monomorphic struct-like variants. r=nmatsakisPatrick Walton-8/+75
2012-10-23Remove <- operator from the compilerTim Chevalier-14/+3
Yield an obsolete syntax error on things like "let foo <- bar;" and "foo <- bar;" r=brson Progress on #3466
2012-10-23rustc: Implement typechecking for simple monomorphic derivable traits on ↵Patrick Walton-9/+42
monomorphic types. r=brson
2012-10-22Merge remote-tracking branch 'luqmana/incoming'Brian Anderson-5/+35
2012-10-22rustc: Convert two printlns in trans into debug!Brian Anderson-2/+2
2012-10-22Long linesBrian Anderson-1/+2
2012-10-22Merge pull request #3826 from jdm/doublefailBrian Anderson-1/+1
Fix ICE stemming from use of unique pointers in unreachable blocks.
2012-10-22Incorporate review comments (mostly fixing indentation)Tim Chevalier-6/+5
Previous commit was r=nmatsakis
2012-10-22Preliminary support for labeled break/continue for `loop`sTim Chevalier-23/+31
This patch adds preliminary middle-end support (liveness and trans) for breaks and `loop`s to `loop` constructs that have labels. while and for loops can't have labels yet. Progress on #2216
2012-10-21rustc: add new intrinsics - atomic_cxchg{_acq,_rel}Luqman Aden-5/+35
2012-10-21Fix ICE stemming from use of unique pointers in unreachable blocks.Josh Matthews-1/+1
2012-10-20Remove old fixed-length vector syntaxBen Striegel-3/+3
2012-10-19Remove superfluous by-ref in option::get, option::get_default, option::expectTim Chevalier-5/+5
Superficial change, no review.
2012-10-18rustc: Implement intra-crate static methods on anonymous trait ↵Patrick Walton-4/+4
implementations. r=nmatsakis
2012-10-18rustc: optimize away some mallocs when building GEP argsErick Tryzelaar-2/+1
2012-10-17Merge pull request #3716 from Blei/fix-3656Tim Chevalier-3/+4
rustc: fix size computation of structs for the FFI
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-18/+13
2012-10-15rustc: Implement monomorphic default methods. r=nmatsakisPatrick Walton-126/+220
2012-10-12Make trans ignore last useTim Chevalier-17/+9
2012-10-12Make moves explicit in rustc::middleTim Chevalier-2/+2
2012-10-12remove ctor from ast (take 2) (no review: just dead code removal)Niko Matsakis-114/+5
2012-10-12Use the Nth impl when translating a static method call, insteadNiko Matsakis-8/+47
of the 0th. 0th is only correct when there are no bound tps on the trait. Fixes #3741.
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-3/+3
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-10-11Update FIXME numbersTim Chevalier-3/+3
2012-10-11Remove obsolete FIXMETim Chevalier-3/+0
2012-10-11Update FIXME numbersTim Chevalier-1/+1
2012-10-10rustc: fix size computation of structs for the FFIPhilipp Brüschweiler-3/+4
It didn't take alignment into account. Fixes #3656.
2012-10-08Revert "remove ctor from ast"Tim Chevalier-5/+114
This reverts commit ed3689d57c988e1dd477930d957c4308c37d1a64.