aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | rustc: Add in the size of the discriminant to generic_size_of() for tagsPatrick Walton2011-03-011-1/+3
| | |
* | | rustc: Add logic for generic tags to dynamic_size_of().Patrick Walton2011-03-011-3/+32
| | |
* | | rustc: Factor out the align-elements logic in dynamic_size_of()Patrick Walton2011-03-011-34/+29
| | |
* | | Populate default compilation environment as in rustboot.Graydon Hoare2011-03-013-7/+44
| | |
* | | Fix typo in comment.Graydon Hoare2011-03-011-1/+1
| | |
* | | Implement structured compare for rec, tup, tag. Un-XFAIL structured-compare.rs.Graydon Hoare2011-03-012-22/+55
| | |
* | | rustc: Switch from storing nullary tags as constants to storing their ↵Patrick Walton2011-03-011-22/+31
| | | | | | | | | | | | discriminants
* | | rustc: Mark tags that have subtypes with dynamic size as dynamicPatrick Walton2011-02-281-0/+7
| | |
* | | rustc: Trivial cleanup: Remove unused "arity" tagPatrick Walton2011-02-281-1/+0
| | |
* | | More complete sketch of structural compare. Still not quite working.Graydon Hoare2011-02-281-38/+115
| | |
* | | Groundwork for structural comparison. Still lacking the actual loop that ↵Graydon Hoare2011-02-282-26/+118
| | | | | | | | | | | | does it.
* | | rustc: Write tag variant discriminants into the crate as integer constantsPatrick Walton2011-02-281-1/+15
| | |
* | | Declare wrappers to the native functions and use those to createRafael Ávila de Espíndola2011-02-282-4/+29
| | | | | | | | | | | | | | | | | | | | | the fn/closure pairs. Disable native2.rs for now as we are not yet defining the wrappers and it fails to link.
* | | Update the function declarations with rust abi. A cdeclRafael Ávila de Espíndola2011-02-281-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fn write(int fd, rustrt.vbuf buf, uint count) -> int; compiles to declare i32 @write(i32, i8*, i32) and a rust fn vec_buf[T](vec[T] v, uint offset) -> vbuf; compiles to declare i8* @vec_buf(%task*, %tydesc*, %"vec[<P0:2>]", i32) which I think is the correct declaration for both :-)
* | | rustc: Make the tag info table keyed by both tag ID and type parameter. Also ↵Patrick Walton2011-02-252-14/+24
| | | | | | | | | | | | fix a bug that was causing all tags to compare equal.
* | | rustc: Eliminate the "ty_params" field from the tag infoPatrick Walton2011-02-251-6/+14
| | |
* | | rustc: Eliminate the "variants" field from the tag infoPatrick Walton2011-02-251-37/+22
| | |
* | | rustc: Make iter_structural_ty() not use the "variants" field in the tag infoPatrick Walton2011-02-251-62/+42
| | |
* | | Add a tag_variant_count() function to trans that doesn't go through the ↵Patrick Walton2011-02-251-1/+14
| | | | | | | | | | | | soon-to-be-deprecated tag info table
* | | rustc: Move all of the logic in type_of() to type_of_inner()Patrick Walton2011-02-251-38/+40
| | |
* | | Revert "rustc: Push type parameters down through alt tag patterns; add a ↵Patrick Walton2011-02-252-68/+11
| | | | | | | | | | | | | | | | | | test" due to valgrind failures This reverts commit 7a1d01effcfa5763bc62aefba40f67ad2130d28d.
* | | Fix typo in crate directive evaluator.Graydon Hoare2011-02-251-1/+1
| | |
* | | rustc: Remove FIXME obsoleted by the previous commitPatrick Walton2011-02-251-5/+0
| | |
* | | rustc: Push type parameters down through alt tag patterns; add a testPatrick Walton2011-02-252-6/+68
| | |
* | | Pass the abi of native functions all the way to codegen.Rafael Ávila de Espíndola2011-02-254-32/+51
| | |
* | | There are no native iterators (or at least they are not going to be supportedRafael Ávila de Espíndola2011-02-255-33/+38
| | | | | | | | | | | | soon.).
* | | Disable test that is failing on valgrind.Rafael Ávila de Espíndola2011-02-251-1/+2
| | |
* | | rustc: Perform type parameter substitutions when emitting glue for generic ↵Patrick Walton2011-02-244-32/+56
| | | | | | | | | | | | tags. Un-XFAIL generic-tag.rs.
* | | Support the awful alt-else form in rustboot's cexp grammar, at least ↵Graydon Hoare2011-02-241-0/+17
| | | | | | | | | | | | transiently. Remove in the future.
* | | Connect the crate and source parsers together.Graydon Hoare2011-02-241-2/+58
| | |
* | | Handle the mutant 'let'-block directive in rustboot, temporarily.Graydon Hoare2011-02-241-0/+15
| | |
* | | Factor crate expr evaluator out of parser, expand to simple scalars and ops, ↵Graydon Hoare2011-02-244-82/+453
| | | | | | | | | | | | if, alt.
* | | Cast more aggressively to the callee type when calling generic functions. ↵Patrick Walton2011-02-243-3/+19
| | | | | | | | | | | | Add a test-case for this, and XFAIL it in rustboot.
* | | Revert "Cast more aggressively to the callee type when calling generic ↵Patrick Walton2011-02-243-13/+3
| | | | | | | | | | | | | | | | | | functions. Add a test-case for this, and XFAIL it in rustboot." due to test failures This reverts commit 0a65283c5eeae0b98fff7d213dbaad59889e677e.
* | | Cast more aggressively to the callee type when calling generic functions. ↵Patrick Walton2011-02-243-3/+13
| | | | | | | | | | | | Add a test-case for this, and XFAIL it in rustboot.
* | | Parse crate directive tree in one pass, then evaluate it in a second.Graydon Hoare2011-02-242-33/+96
| | |
* | | Restore working rustc run-pass testsBrian Anderson2011-02-241-1/+1
| | |
* | | Invert test/run-pass/ for rustcPatrick Walton2011-02-231-113/+104
| | |
* | | Implement type descriptor binding. Un-XFAIL test/run-pass/generic-bind.rs.Patrick Walton2011-02-233-19/+100
| | |
* | | Add a type for crate directives, to support intermixing with exprs in crate ↵Graydon Hoare2011-02-232-1/+17
| | | | | | | | | | | | files.
* | | Parse auth clauses, drop them on the floor. Nothing exists to use them yet ↵Graydon Hoare2011-02-231-0/+9
| | | | | | | | | | | | anyways.
* | | Use the computed abi :-(Rafael Ávila de Espíndola2011-02-231-1/+1
| | |
* | | Parse the abi in native modules.Rafael Ávila de Espíndola2011-02-234-11/+49
| | |
* | | Handle the new ty_native_fn in type check.Rafael Ávila de Espíndola2011-02-232-25/+96
| | |
* | | Rustify some comments lifted directly from the sha-1 reference implementationBrian Anderson2011-02-221-2/+2
| | |
* | | Teach rustc about reserved keywordsBrian Anderson2011-02-229-1/+58
| | |
* | | Rename std._io to std.io since 'io' is no longer a keywordBrian Anderson2011-02-225-8/+8
| | |
* | | rustc: Perform explicit type substitution as requested by the programmerPatrick Walton2011-02-221-0/+66
| | |
* | | Un-XFAIL argv.rs and command-line-args.rs.Graydon Hoare2011-02-221-0/+2
| | |
* | | Drop for-loop temporary at end of scope, fixes memory leak.Graydon Hoare2011-02-221-0/+1
| | |