- 06 5月, 2011 6 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 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.
-
由 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).
-
由 Patrick Walton 提交于
-
- 05 5月, 2011 3 次提交
-
-
由 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 提交于
-
由 Graydon Hoare 提交于
-
- 04 5月, 2011 3 次提交
-
-
由 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 6 次提交
-
-
由 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 提交于
-
- 30 4月, 2011 9 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Graydon Hoare 提交于
-
由 Patrick Walton 提交于
-
由 Graydon Hoare 提交于
-
由 Marijn Haverbeke 提交于
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.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
- 29 4月, 2011 9 次提交
-
-
由 Graydon Hoare 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Tim Chevalier 提交于
In rustc, nested patterns were potentially matching when they shouldn't match, because a loop index wasn't being incremented. Fixed it and added one test case.
-
由 Graydon Hoare 提交于
-
- 28 4月, 2011 2 次提交
-
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
- 27 4月, 2011 2 次提交
-
-
由 Patrick Walton 提交于
rustc: Ignore the return value of native functions that return nil. stage1 can build libstd now, though it leaks.
-
由 Patrick Walton 提交于
-