| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add #env syntax extension for plucking strings out of the compilation ↵ | Graydon Hoare | 2011-05-04 | 3 | -0/+76 |
| | | | | | environment. | ||||
| * | Fix and re-enable destructors | Marijn Haverbeke | 2011-05-05 | 1 | -6/+7 |
| | | | | | | | | There was some confusion on whether the destructors took their argument by pointer or direct value. They now take it directly, just like other methods. You no longer get a segfault when a constructor actually does something with its self value. | ||||
| * | Add a structure for passing option flags around the compiler, put it in ↵ | Graydon Hoare | 2011-05-04 | 5 | -87/+106 |
| | | | | | session, and use it. | ||||
| * | Add missing ret statements to check_mod | Brian Anderson | 2011-05-04 | 1 | -0/+4 |
| | | | | | Un-XFAIL compile-fail export tests | ||||
| * | Support new -g flag, only mangle glue names by type when it's passed. | Graydon Hoare | 2011-05-04 | 2 | -18/+30 |
| | | |||||
| * | rustc: Stub support for Rust intrinsics | Patrick Walton | 2011-05-03 | 4 | -28/+61 |
| | | |||||
| * | Revert "Rename the "llvm" API to "llvm-intrinsic"" due to tinderbox bustage | Patrick Walton | 2011-05-03 | 2 | -2/+1 |
| | | | | | This reverts commit 6871c245a67fab222eccc2a21dcb620d11d3b0d0. | ||||
| * | Start sketching --depend support in rustc. | Graydon Hoare | 2011-05-03 | 3 | -1/+19 |
| | | |||||
| * | Rename the "llvm" API to "llvm-intrinsic" | Patrick Walton | 2011-05-03 | 2 | -1/+2 |
| | | |||||
| * | rustc: Refactor metadata.Encode.* to not require a type abbreviation table ↵ | Patrick Walton | 2011-05-03 | 3 | -45/+53 |
| | | | | | if abbreviation isn't enabled | ||||
| * | rustc: Name type glue properly | Patrick Walton | 2011-05-03 | 1 | -3/+17 |
| | | |||||
| * | Extract ast.is_exported from the resolve module | Brian Anderson | 2011-05-02 | 2 | -18/+23 |
| | | |||||
| * | rustc: Time the Rust translation and LLVM passes separately | Patrick Walton | 2011-05-02 | 2 | -6/+11 |
| | | |||||
| * | rustc: Remove the artificial block in ty.rs. Fixes self-hosting. Add a test ↵ | Patrick Walton | 2011-05-02 | 1 | -1/+1 |
| | | | | | case for this, XFAIL'd. | ||||
| * | Un-revert "Use different syntax for checks that matter to typestate", fixing ↵ | Patrick Walton | 2011-05-02 | 16 | -505/+510 |
| | | | | | | | the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118. | ||||
| * | Revert "Use different syntax for checks that matter to typestate" | Graydon Hoare | 2011-05-02 | 16 | -510/+505 |
| | | | | | This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet. | ||||
| * | rustc: Allocate tydescs on the stack when it's safe to do so. 60% compile ↵ | Patrick Walton | 2011-05-02 | 1 | -12/+33 |
| | | | | | speed increase. | ||||
| * | Use different syntax for checks that matter to typestate | Tim Chevalier | 2011-05-02 | 16 | -505/+510 |
| | | | | | | | | | | | This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc. | ||||
| * | rustc: Add a "fat tydesc" LLVM type to trans | Patrick Walton | 2011-05-02 | 1 | -0/+6 |
| | | |||||
| * | Remove the search direction from resolve's fold environment | Brian Anderson | 2011-05-01 | 1 | -36/+31 |
| | | | | | | It's not actually involved in the fold so it can just be passed between the functions that need it. | ||||
| * | Hide unexported tag variants | Brian Anderson | 2011-05-01 | 1 | -3/+5 |
| | | |||||
| * | Implement simple module export | Brian Anderson | 2011-05-01 | 1 | -12/+60 |
| | | |||||
| * | rustc: Preserve dots in input path when using an implicit output path | Brian Anderson | 2011-05-01 | 1 | -2/+2 |
| | | | | | This avoids outputing, e.g. /test.bc for ../test.rs | ||||
| * | Fix a typo in the documentation. | Ralph Giles | 2011-05-01 | 1 | -1/+1 |
| | | |||||
| * | rustc: Run scope cleanups in the implicit block created by log statements. ↵ | Patrick Walton | 2011-04-29 | 1 | -14/+18 |
| | | | | | Fixes a leak. | ||||
| * | rustc: Add constants for LLVM function attributes | Patrick Walton | 2011-04-29 | 1 | -0/+24 |
| | | |||||
| * | rustc: Emit pure native glue; we don't call it yet | Patrick Walton | 2011-04-29 | 3 | -20/+50 |
| | | |||||
| * | rustc: Start threading a purity flag through upcalls | Patrick Walton | 2011-04-29 | 1 | -20/+26 |
| | | |||||
| * | Temporarily disable dtors; they broke self-hosting. | Graydon Hoare | 2011-04-29 | 1 | -1/+3 |
| | | |||||
| * | rustc: First steps to determine whether tydescs escape | Patrick Walton | 2011-04-29 | 1 | -17/+30 |
| | | |||||
| * | Don't emit metadata unless compiling -shared. | Graydon Hoare | 2011-04-29 | 2 | -5/+8 |
| | | |||||
| * | Implement destructors in rustc | Marijn Haverbeke | 2011-04-29 | 2 | -40/+61 |
| | | | | | | | Unlike rustboot, rustc keeps it destructors in vtables. Entry 0 holds either the destructor for the obj or a NULL pointer. The method offsets start at 1. | ||||
| * | rustc: Temporarily add a switch and a corresponding makefile variable to ↵ | Patrick Walton | 2011-04-29 | 1 | -5/+12 |
| | | | | | disable typestate | ||||
| * | rustc: Add a --time-passes option | Patrick Walton | 2011-04-29 | 2 | -14/+42 |
| | | |||||
| * | rustc: Handle alias parameters in native functions properly | Patrick Walton | 2011-04-29 | 1 | -14/+20 |
| | | |||||
| * | rustc: Remove the wrong-compiler warning; we're self-hosting now. | Patrick Walton | 2011-04-29 | 1 | -12/+1 |
| | | |||||
| * | Intern metadata while writing, shrink stage1 from 12mb to 5.7mb. | Graydon Hoare | 2011-04-29 | 4 | -94/+224 |
| | | |||||
| * | rustc: Fix vec append glue for strings. Add a test case. | Patrick Walton | 2011-04-28 | 1 | -5/+8 |
| | | |||||
| * | rustc: Add some value names to the vec append glue function. Un-XFAIL ↵ | Patrick Walton | 2011-04-28 | 1 | -0/+6 |
| | | | | | vec-growth.rs. | ||||
| * | More attempts at fixing broken vec-append glue. | Graydon Hoare | 2011-04-28 | 1 | -3/+3 |
| | | |||||
| * | Make the no-growth path (previously never exercised) in rustc *work*. | Graydon Hoare | 2011-04-28 | 1 | -2/+1 |
| | | |||||
| * | Actually hit the no-growth path on vec-append. | Graydon Hoare | 2011-04-28 | 1 | -2/+12 |
| | | |||||
| * | Consider unop deref as an lval. Un-XFAIL vec-push. | Graydon Hoare | 2011-04-28 | 1 | -0/+1 |
| | | |||||
| * | rustc: Only use color if it's supported | Patrick Walton | 2011-04-28 | 1 | -2/+10 |
| | | |||||
| * | Drop args in native stubs too. | Graydon Hoare | 2011-04-28 | 1 | -0/+11 |
| | | |||||
| * | Enable typestate_check | Tim Chevalier | 2011-04-28 | 1 | -2/+1 |
| | | | | | This was supposed to be in a previous commit. I don't know what happened. | ||||
| * | Add a session field to ty_ctxt and change an err to span_err | Tim Chevalier | 2011-04-28 | 3 | -12/+18 |
| | | | | | | | | I changed instantiate to print out a more helpful error message, which required passing it a session argument. To avoid threading extra arguments through a lot of functions, I added a session field to ty_ctxt. | ||||
| * | Reindented things and removed superfluous comments, nothing to see here | Tim Chevalier | 2011-04-28 | 1 | -14/+7 |
| | | |||||
| * | Fix some nested patterns in rustc | Tim Chevalier | 2011-04-28 | 1 | -0/+2 |
| | | | | | | | In rustc, nested patterns were potentially matching when they shouldn't match, because a loop index wasn't being incremented. Fixed it and added one test case. | ||||
| * | Fix bug in handling of expr_alt (postcond for alts was being intersected ↵ | Tim Chevalier | 2011-04-28 | 1 | -52/+102 |
| | | | | | with postcond for scrutinee) | ||||