- 06 5月, 2011 19 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Graydon Hoare 提交于
-
由 Lindsey Kuper 提交于
-
-
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.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Graydon Hoare 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Tim Chevalier 提交于
as well as a test case
-
由 Tim Chevalier 提交于
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.
-
由 Tim Chevalier 提交于
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.
-
由 Tim Chevalier 提交于
In addition, fix bug in fold that was turning asserts into checks. More typechecking still needs to be done.
-
由 Marijn Haverbeke 提交于
This should make compilation a bit less noisy.
-
由 Marijn Haverbeke 提交于
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).
-
由 Marijn Haverbeke 提交于
The pass now uses walk.
-
由 Patrick Walton 提交于
-
- 05 5月, 2011 7 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Graydon Hoare 提交于
-
由 Marijn Haverbeke 提交于
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.
-
由 Graydon Hoare 提交于
-
由 Brian Anderson 提交于
Un-XFAIL compile-fail export tests
-
由 Graydon Hoare 提交于
-
- 04 5月, 2011 6 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
This reverts commit 6871c245.
-
由 Graydon Hoare 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
rustc: Refactor metadata.Encode.* to not require a type abbreviation table if abbreviation isn't enabled
-
由 Patrick Walton 提交于
-
- 03 5月, 2011 8 次提交
-
-
由 Brian Anderson 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
This reverts commit d08b443f.
-
由 Graydon Hoare 提交于
This reverts commit aa25f22f. It broke stage2, not sure why yet.
-
由 Patrick Walton 提交于
-
由 Tim Chevalier 提交于
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.
-
由 Patrick Walton 提交于
-