aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Un-XFAILed not-a-pred in stage0 (it fails correctly)Tim Chevalier2011-05-051-3/+0
|
* Remove 'deprecated mutable...' from our codeMarijn Haverbeke2011-05-0515-43/+43
| | | | This should make compilation a bit less noisy.
* Return a fresh, unreachable context after ret, break, and contMarijn Haverbeke2011-05-052-6/+2
| | | | | | | | | This ensures we don't get compile errors on unreachable code (see test/run-pass/artificial-block.rs for an example of sane code that wasn't compiling). In the future, we might want to warn about non-trivial code appearing in an unreachable context, and/or avoid generating unreachable code altogether (though I'm sure LLVM will weed it out as well).
* Eradicate fold from capture.rsMarijn Haverbeke2011-05-051-59/+54
| | | | The pass now uses walk.
* Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6.Ralph Giles2011-05-052-18/+18
| | | | | | | | | | | This applies c11675 by Julian Seward from valgrind trunk (svn://svn.valgrind.org/valgrind/trunk) to rustrt's included copies of memcheck.h and valgrind.h, effectively backporting the fix from the unreleased 3.6.2. The commit simply applies the gcc 'unused' attribute to the relevant declarations. This change allows compilation of the runtime code under gcc 4.6 with -Werror, as the makefile currently requests.
* rustc: Add a Link module; move crate writing to it to slim down trans slightlyPatrick Walton2011-05-055-173/+197
|
* rustllvm: Add bindings to the LLVM linkerPatrick Walton2011-05-043-3/+22
|
* rustllvm: Whitespace police in RustWrapper.cppPatrick Walton2011-05-041-2/+4
|
* rustc: Detect the system root and allow the user to override if necessaryPatrick Walton2011-05-042-4/+22
|
* Add #env syntax extension for plucking strings out of the compilation ↵Graydon Hoare2011-05-043-0/+76
| | | | environment.
* Re-snapshot to pick up fixed crasher bugs in resolve and performance ↵Graydon Hoare2011-05-041-0/+5
| | | | improvements.
* build: Build intrinsics.bcPatrick Walton2011-05-041-1/+1
|
* Fix and re-enable destructorsMarijn Haverbeke2011-05-051-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 Hoare2011-05-045-87/+106
| | | | session, and use it.
* Add missing ret statements to check_modBrian Anderson2011-05-047-12/+4
| | | | Un-XFAIL compile-fail export tests
* Support new -g flag, only mangle glue names by type when it's passed.Graydon Hoare2011-05-042-18/+30
|
* More export XFAILs.Graydon Hoare2011-05-042-0/+6
|
* Re-snapshot stage0Graydon Hoare2011-05-041-0/+5
|
* XFAIL some compile-fail tests mysteriously failing on win32 tinderbox.Graydon Hoare2011-05-044-0/+12
|
* extend xfail-stage0 to stage1, stage2 on obj-dtor-2.rsGraydon Hoare2011-05-041-1/+3
|
* Change two compile-fail patterns to match rustc output.Graydon Hoare2011-05-042-2/+2
|
* Try to fail nicely, again.Graydon Hoare2011-05-042-2/+2
|
* Fail in a slightly more organized fashion for now.Graydon Hoare2011-05-041-4/+2
|
* 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.