aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* rustc: Stub Rust intrinsics. We check in the .ll file for now to temporarily ↵Patrick Walton2011-05-032-0/+74
| | | | dodge a dependency on clang.
* Assume xfail-stage0 implies stage1 and stage2 in tests, for now.Graydon Hoare2011-05-0399-0/+198
|
* rustc: Stub support for Rust intrinsicsPatrick Walton2011-05-034-28/+61
|
* Revert "Rename the "llvm" API to "llvm-intrinsic"" due to tinderbox bustagePatrick Walton2011-05-033-3/+2
| | | | This reverts commit 6871c245a67fab222eccc2a21dcb620d11d3b0d0.
* More python portability fixes (for windows).Graydon Hoare2011-05-032-2/+2
|
* Attempt to use more portable pythonGraydon Hoare2011-05-031-18/+18
|
* Start sketching --depend support in rustc.Graydon Hoare2011-05-033-1/+19
|
* Rename the "llvm" API to "llvm-intrinsic"Patrick Walton2011-05-033-2/+3
|
* rustc: Refactor metadata.Encode.* to not require a type abbreviation table ↵Patrick Walton2011-05-033-45/+53
| | | | if abbreviation isn't enabled
* rustc: Name type glue properlyPatrick Walton2011-05-031-3/+17
|
* Update valgrind.h and memcheck.h to 3.6.0Graydon Hoare2011-05-032-180/+1014
|
* Attempt to shift build to stage0-from-snapshots.Graydon Hoare2011-05-032-4/+5
|
* Small fixes to snapshot script.Graydon Hoare2011-05-031-9/+11
|
* Remove unused variable.Rafael Ávila de Espíndola2011-05-031-7/+1
|
* Split start into rustc and rustboot versions. This introduces a bit ofRafael Ávila de Espíndola2011-05-032-27/+122
| | | | | | | | | | | duplication, but we will hopefully drop the rustboot one soon. This is also a preparation for changing the rustc one to have the activate glue return to the exit glue which will then call the main function. This (returning to the function that calls main) matches what happens when loader stats a program or a new thread. It lets gdb produce good backtraces and should help with EH too.
* 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.