aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* More snapshot logic refactoring.Graydon Hoare2011-05-034-50/+57
|
* More hacking on the snapshot system.Graydon Hoare2011-05-024-36/+31
|
* Extract ast.is_exported from the resolve moduleBrian Anderson2011-05-022-18/+23
|
* Add some tests of tag-export interactionBrian Anderson2011-05-023-0/+48
|
* Initial sketch of snapshot support code, based on code from marijn.Graydon Hoare2011-05-024-0/+212
|
* Revert "Use check instead of assert in export-unexported-dep"Brian Anderson2011-05-021-1/+1
| | | | | This reverts commit 480eda0f10fabd6e76a30c91df1d84740d6f81cc. The commit adding the assert keyword has been restored.
* rustc: Time the Rust translation and LLVM passes separatelyPatrick Walton2011-05-022-6/+11
|
* rustc: Remove the artificial block in ty.rs. Fixes self-hosting. Add a test ↵Patrick Walton2011-05-022-1/+13
| | | | case for this, XFAIL'd.
* Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton2011-05-02182-1239/+1256
| | | | | | the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
* Use check instead of assert in export-unexported-depBrian Anderson2011-05-021-1/+1
|
* Revert "Use different syntax for checks that matter to typestate"Graydon Hoare2011-05-02182-1256/+1239
| | | | This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
* Add a regression test that exports can expose unexported itemsBrian Anderson2011-05-021-0/+24
| | | | | While those unexported items can't be used by name outside the module in which they are defined, they can be used as a sort of ADT.
* rustc: Allocate tydescs on the stack when it's safe to do so. 60% compile ↵Patrick Walton2011-05-021-12/+33
| | | | speed increase.
* Use different syntax for checks that matter to typestateTim Chevalier2011-05-02182-1239/+1256
| | | | | | | | | | 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 transPatrick Walton2011-05-021-0/+6
|
* rustc: Disable frame pointer omissionPatrick Walton2011-05-021-0/+1
|
* Add a test that imports can't circumvent exportsBrian Anderson2011-05-011-0/+19
|
* Remove the search direction from resolve's fold environmentBrian Anderson2011-05-011-36/+31
| | | | | It's not actually involved in the fold so it can just be passed between the functions that need it.
* Add a regression test for use of unexported fully-qualified pathsBrian Anderson2011-05-011-0/+21
| | | | | An unexported foo.baz can't be resolved from inside foo when called as foo.baz instead of just baz. This behavior may want to change eventually.
* Hide unexported tag variantsBrian Anderson2011-05-012-3/+22
|
* Implement simple module exportBrian Anderson2011-05-016-14/+143
|
* rustc: Preserve dots in input path when using an implicit output pathBrian Anderson2011-05-011-2/+2
| | | | This avoids outputing, e.g. /test.bc for ../test.rs
* Fix expr-alt-generic-box2.rs and un-XFAILBrian Anderson2011-05-011-2/+1
|
* Un-XFAIL various tests in stage0Brian Anderson2011-05-018-8/+0
|
* Fix a typo in the documentation.Ralph Giles2011-05-011-1/+1
|
* rustc: Run scope cleanups in the implicit block created by log statements. ↵Patrick Walton2011-04-291-14/+18
| | | | Fixes a leak.
* rustc: Add constants for LLVM function attributesPatrick Walton2011-04-291-0/+24
|
* Re-XFAIL lib-io.rs, not quite working yet.Graydon Hoare2011-04-291-0/+1
|
* rustc: Emit pure native glue; we don't call it yetPatrick Walton2011-04-293-20/+50
|
* rustc: Start threading a purity flag through upcallsPatrick Walton2011-04-291-20/+26
|
* Un-XFAIL most library tests.Graydon Hoare2011-04-2917-18/+0
|
* Temporarily disable dtors; they broke self-hosting.Graydon Hoare2011-04-291-1/+3
|
* rustc: First steps to determine whether tydescs escapePatrick Walton2011-04-291-17/+30
|
* Don't emit metadata unless compiling -shared.Graydon Hoare2011-04-292-5/+8
|
* Implement destructors in rustcMarijn Haverbeke2011-04-292-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 Walton2011-04-291-5/+12
| | | | disable typestate
* rustc: Add a --time-passes optionPatrick Walton2011-04-292-14/+42
|
* rustc: Handle alias parameters in native functions properlyPatrick Walton2011-04-291-14/+20
|
* stdlib: Add a Time module to the standard libraryPatrick Walton2011-04-294-0/+43
|
* rustc: Remove the wrong-compiler warning; we're self-hosting now.Patrick Walton2011-04-291-12/+1
|
* Intern metadata while writing, shrink stage1 from 12mb to 5.7mb.Graydon Hoare2011-04-294-94/+224
|
* rustc: Fix vec append glue for strings. Add a test case.Patrick Walton2011-04-282-5/+22
|
* rustc: Add some value names to the vec append glue function. Un-XFAIL ↵Patrick Walton2011-04-282-2/+6
| | | | vec-growth.rs.
* More attempts at fixing broken vec-append glue.Graydon Hoare2011-04-281-3/+3
|
* test: Add a test case for vec growthPatrick Walton2011-04-281-0/+15
|
* Make the no-growth path (previously never exercised) in rustc *work*.Graydon Hoare2011-04-281-2/+1
|
* Actually hit the no-growth path on vec-append.Graydon Hoare2011-04-281-2/+12
|
* stdlib: Provide "array" as a friendlier shorthand for "vec[mutable? T]"Patrick Walton2011-04-281-17/+18
|
* Consider unop deref as an lval. Un-XFAIL vec-push.Graydon Hoare2011-04-282-3/+2
|
* rustc: Add a testcase for vector push (mutable aliases with *, really)Patrick Walton2011-04-281-0/+11
|