aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* rustc: Reference count the function context in typechecking so that passing ↵Patrick Walton2010-12-211-22/+21
| | | | it around via objects isn't as costly
* Sort methods in object types.Graydon Hoare2010-12-212-0/+32
|
* rustc: Move type logic out of typeck so trans doesn't look like it's calling ↵Patrick Walton2010-12-215-912/+936
| | | | into typeck
* rustboot: Only bottom out at opaque IL types after finding two cycles. DON'T ↵Patrick Walton2010-12-212-1/+8
| | | | ASK ME WHY THIS WORKS.
* Add std.sort, with a simple mergesort.Graydon Hoare2010-12-213-0/+100
|
* rustc: Sanitize names better. Puts out burning tinderbox on OS X.Patrick Walton2010-12-201-2/+14
|
* rustc: Add bind expressions to the ASTPatrick Walton2010-12-202-0/+26
|
* Null-check on obj box ptr, init to null. Un-XFAIL simple-obj.rs.Graydon Hoare2010-12-202-8/+27
|
* Support ty_obj in trans_field; simple-obj.rs compiles (but crashes).Graydon Hoare2010-12-201-4/+18
|
* Mop up cases of s/copy/take/, remove 'binding' terminology, whitespace ↵Graydon Hoare2010-12-203-41/+37
| | | | police, and make obj/fn structural.
* rustc: Use the passed-in tydescs for take and drop glue in parametric fns. ↵Patrick Walton2010-12-202-6/+27
| | | | Also fix a level-of-indirection problem with tydesc params.
* rustc: Print the type when we die in trans.make_drop_glue_innerPatrick Walton2010-12-201-1/+2
|
* rustc: Add a type param ID -> type descriptor mapping to function contextsPatrick Walton2010-12-201-16/+30
|
* Put out burning tree (sizeof / alignof bug).Graydon Hoare2010-12-201-14/+19
|
* Use gvars for vtbls rather than returning const immediates.Graydon Hoare2010-12-201-1/+7
|
* Trailing whitespace police.Graydon Hoare2010-12-201-2/+2
|
* rustc: Build tydescs for types, and make all take and drop operations go ↵Patrick Walton2010-12-202-27/+54
| | | | through the tydescs for simplicity (LLVM inlines them).
* rustc: Remove the unused "name" parameter from trans.new_builderPatrick Walton2010-12-171-4/+4
|
* rustc: Make some no-op take and drop glue for scalar typesPatrick Walton2010-12-171-24/+34
|
* Split part of typeck.check_fn out into typeck.check_item_fn, then check all ↵Graydon Hoare2010-12-171-17/+33
| | | | fns, including obj fns.
* rustc: Make all drop and take glue have the same signature, so we can put ↵Patrick Walton2010-12-172-14/+28
| | | | them in tydescs
* Record type annotations for methods.Graydon Hoare2010-12-171-2/+40
|
* rustc: Zero out slots after dropping themPatrick Walton2010-12-171-2/+8
|
* Trans methods more correctly, and store vtbl pointer in pair returned from ↵Graydon Hoare2010-12-171-4/+14
| | | | obj ctor.
* Remove calltup fields from ABI, add binding fields.Graydon Hoare2010-12-161-6/+17
|
* Un-XFAIL tag.rs.Graydon Hoare2010-12-161-0/+1
|
* Sketch trans_vtbl.Graydon Hoare2010-12-163-4/+14
|
* rustc: Translate parametric function signatures into task + type parameters ↵Patrick Walton2010-12-162-0/+52
| | | | + formal arguments
* Stub out translation of obj ctors (no vtbl or body built).Graydon Hoare2010-12-161-0/+40
|
* rustc: Add a type fold mechanism to the typecheckerPatrick Walton2010-12-161-63/+83
|
* rustc: Only generalize on definition types that can actually be parametricPatrick Walton2010-12-161-4/+2
|
* rustc: Write types back when typechecking "ret" statementsPatrick Walton2010-12-161-3/+3
|
* rustc: Make trans.type_of handle parameter typesPatrick Walton2010-12-161-2/+4
|
* rustc: Infer the types of type-parametric functionsPatrick Walton2010-12-161-0/+76
|
* Annotate obj items while folding ast in typeck.Graydon Hoare2010-12-161-0/+11
|
* Collect obj items, translate obj-name references and obj-ctor types.Graydon Hoare2010-12-161-19/+51
|
* Typecheck object method calls.Graydon Hoare2010-12-151-0/+30
|
* Convert obj item type to ctor type rather than obj type.Graydon Hoare2010-12-151-8/+29
|
* rustc: Move next_var_id back to the crate context in typechecking; we'll ↵Patrick Walton2010-12-151-22/+39
| | | | need it when collecting item types
* rustc: Resolve type paramsPatrick Walton2010-12-151-1/+6
|
* Teach typeck to stringify obj types.Graydon Hoare2010-12-151-6/+33
|
* rustc: Un-XFAIL alt-pattern-simple.rsPatrick Walton2010-12-151-0/+1
|
* rustc: Fix bug involving extracting any variant element beyond the first. ↵Patrick Walton2010-12-152-0/+2
| | | | Un-XFAIL alt-tag.rs.
* rustc: Resolve tag names in the typecheckerPatrick Walton2010-12-151-1/+6
|
* rustc: Lex '_' as an underscore, not as an identifierPatrick Walton2010-12-151-1/+4
|
* rustc: Translate pattern matchingPatrick Walton2010-12-151-1/+155
|
* Teach typeck.ty, typeck.collect_item_types and typeck.check_expr about obj ↵Graydon Hoare2010-12-141-1/+31
| | | | items.
* Add ty_obj to ast and parser.Graydon Hoare2010-12-142-7/+39
|
* Teach resolve about obj items.Graydon Hoare2010-12-141-0/+3
|
* Move call_expr parse rule to the place where it needs to be to understand ↵Graydon Hoare2010-12-141-14/+13
| | | | complex calls.