aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rustc: Fix a bunch of argument-passing bugs in decl_native_fn_and_pair()Patrick Walton2011-05-051-54/+82
|
* Fix x86.rs triple for linux.Graydon Hoare2011-05-051-1/+1
|
* Consolidating expr_to_str functions.Lindsey Kuper2011-05-055-22/+8
|
* Add Kelly to AUTHORS.Graydon Hoare2011-05-051-0/+1
|
* Add quick sort function to the std lib.Kelly Wilson2011-05-052-0/+114
|
* Use symbolic register names so that we get the correct encoding on OS X.Rafael Ávila de Espíndola2011-05-051-2/+2
|
* Change the setup so that rust_activate_glue returns to rust_exit_task_glueRafael Ávila de Espíndola2011-05-051-38/+19
| | | | | | | | | | | and rust_exit_task_glue calls the rust main. This is simpler since we only need to setup one frame. It also matches what ld.so does, so gdb is happy and stops a backtrace at rust_exit_task_glue instead of continuing past whatever function happened to be before rust_exit_task_glue is the object file. This is the rt part and should be merged after the rust0 part.
* Register new stage0 snapshots.Graydon Hoare2011-05-051-0/+5
|
* Change the setup so that rust_activate_glue returns to rust_exit_task_glueRafael Ávila de Espíndola2011-05-051-16/+17
| | | | | | | | | | | and rust_exit_task_glue calls the rust main. This is simpler since we only need to setup one frame. It also matches what ld.so does, so gdb is happy and stops a backtrace at rust_exit_task_glue instead of continuing past whatever function happened to be before rust_exit_task_glue is the object file. This is only the rustc changes and should be merged first.
* rustc: Add Rust intrinsic support to the crate metadata reader and writerPatrick Walton2011-05-052-3/+7
|
* Attempt to fix fs.dirname harder.Graydon Hoare2011-05-053-7/+4
|
* rustc: Fix bug in equal_abi that was preventing Rust intrinsics from workingPatrick Walton2011-05-051-0/+6
|
* Because good hackers at least check to see if the code compiles.Graydon Hoare2011-05-051-2/+2
|
* Tidy up stage 2 and 3 mk files.Graydon Hoare2011-05-052-4/+6
|
* Fix assumption that only os_fs.path_sep can separate paths, sigh.Graydon Hoare2011-05-051-1/+7
|
* Add --help, --version and -v flags (not yet supporting GIT_REV env var, ↵Graydon Hoare2011-05-051-4/+23
| | | | waiting on snapshot).
* rustc: Link with intrinsics.bc; change intrinsics linkage to linkonce_odrPatrick Walton2011-05-054-3/+32
|
* Put out burning tinderbox.Graydon Hoare2011-05-051-1/+3
|
* rustc: Add a binding to LLVM's bitcode parserPatrick Walton2011-05-054-0/+18
|
* Enforce in typechecker that preds return a boolTim Chevalier2011-05-052-1/+14
| | | | as well as a test case
* Update docs to reflect predsTim Chevalier2011-05-051-9/+29
|
* Test cases for pred / check stuffTim Chevalier2011-05-058-3/+57
|
* Bring back "pred" syntax for writing predicates for checkTim Chevalier2011-05-057-22/+155
| | | | | | | | | | This commit reinstates the requirement that the predicate in a "check" must be a manifest call to a special kind of function declared with the new "pred" keyword instead of "fn". Preds must have a boolean return type and can only call other preds; they can't have any effects (as enforced by the typechecker). The arguments to a predicate in a check expression must be slot variables or literals.
* Update docs to reflect assert vs. checkTim Chevalier2011-05-052-9/+22
| | | | | Also added the --batch flag to texi2pdf, as it doesn't really ever seem useful to drop to the TeX prompt during a build.
* add dl/ and .pyc files to .gitignoreTim Chevalier2011-05-051-1/+2
|
* Check well-formedness of constraintsTim Chevalier2011-05-054-6/+63
| | | | | | Check that the operand in a constraint is an explicit name, and that the operands are all local variables or literals. Still need to check that the name refers to a pure function.
* Change checks to asserts in test/bench filesTim Chevalier2011-05-052-6/+6
|
* Check that the operand in a check is a callTim Chevalier2011-05-053-8/+28
| | | | | | In addition, fix bug in fold that was turning asserts into checks. More typechecking still needs to be done.
* 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.
* Make ocamlc and optional dependency.Ralph Giles2011-05-052-2/+2
| | | | | | | | | | | | | Since moving to a downloadable snapshot for stage0, it's been possible to complete the build without compiling code written in ocaml. However, the configure script still required it to be present. This commit changes detection failure to a non-fatal condition, allowing the build to complete on systems without an ocaml compiler. An info message is also made conditional.
* 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
|
* build: Whitespace police in configure. Puts out burning tinderbox.Patrick Walton2011-05-041-3/+3
|
* 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: Add missing intrinsics.mkPatrick Walton2011-05-041-0/+19
|
* build: Build intrinsics.bcPatrick Walton2011-05-047-8/+48
|
* Add stage-specific test targets (make check-stage1 etc.)Graydon Hoare2011-05-041-1/+18
|
* 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 *.pyc to .gitignoreBrian Anderson2011-05-041-0/+1
|
* 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
|