aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/trans.rs
Commit message (Collapse)AuthorAgeFilesLines
* Translate local item decls.Graydon Hoare2010-12-311-0/+3
|
* Free objects by indirectly dropping fields via enclosed tydesc first.Graydon Hoare2010-12-311-2/+49
|
* Replace arg Load with load_non_structural in obj ctor.Graydon Hoare2010-12-311-1/+1
|
* Teach trans to access object fields.Graydon Hoare2010-12-301-14/+100
|
* rustc: Make parametric return types go through an out pointerPatrick Walton2010-12-291-6/+30
|
* Add a -shared option to rustc and don't try to look for main if it is given.Rafael Ávila de Espíndola2010-12-291-2/+5
|
* Modify translation of obj methods to accept an initial recursive-self-typed ↵Graydon Hoare2010-12-231-60/+133
| | | | (in the LLVM sense) obj argument.
* Copy body tydesc and args into obj bodies.Graydon Hoare2010-12-221-3/+30
|
* Allocate heap cells to store non-empty object bodies.Graydon Hoare2010-12-221-10/+45
|
* rustc: Move type logic out of typeck so trans doesn't look like it's calling ↵Patrick Walton2010-12-211-166/+159
| | | | into typeck
* rustc: Sanitize names better. Puts out burning tinderbox on OS X.Patrick Walton2010-12-201-2/+14
|
* Null-check on obj box ptr, init to null. Un-XFAIL simple-obj.rs.Graydon Hoare2010-12-201-8/+26
|
* 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-201-19/+30
| | | | police, and make obj/fn structural.
* rustc: Use the passed-in tydescs for take and drop glue in parametric fns. ↵Patrick Walton2010-12-201-6/+19
| | | | 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-201-27/+43
| | | | 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
|
* rustc: Make all drop and take glue have the same signature, so we can put ↵Patrick Walton2010-12-171-14/+27
| | | | them in tydescs
* 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.
* Sketch trans_vtbl.Graydon Hoare2010-12-161-0/+9
|
* rustc: Translate parametric function signatures into task + type parameters ↵Patrick Walton2010-12-161-0/+25
| | | | + formal arguments
* Stub out translation of obj ctors (no vtbl or body built).Graydon Hoare2010-12-161-0/+40
|
* rustc: Make trans.type_of handle parameter typesPatrick Walton2010-12-161-2/+4
|
* Collect obj items, translate obj-name references and obj-ctor types.Graydon Hoare2010-12-161-19/+51
|
* rustc: Fix bug involving extracting any variant element beyond the first. ↵Patrick Walton2010-12-151-0/+1
| | | | Un-XFAIL alt-tag.rs.
* rustc: Translate pattern matchingPatrick Walton2010-12-151-1/+155
|
* Fix a couple bugs in iter_sequence, un-XFAIL vec-drop.rs.Graydon Hoare2010-12-131-3/+17
|
* rustc: Hack to get rid of passing i1 types for unit around in most cases, ↵Patrick Walton2010-12-131-6/+27
| | | | suggested by Rafael
* Set the new vec fill-size on the compiler side, as in rustboot. Un-XFAIL ↵Graydon Hoare2010-12-131-0/+5
| | | | first 3 vec tests.
* Fix bad GEP and missing branch in iter_sequence; vec.rs compiles now.Graydon Hoare2010-12-101-1/+3
|
* Implement expr_vec.Graydon Hoare2010-12-101-1/+42
|
* Fix trans_index implementation.Graydon Hoare2010-12-101-4/+4
|
* rustc: Add LLVM typedefs for rust_crate and rust_task for good measurePatrick Walton2010-12-101-0/+7
|
* rustc: Declare LLVM typedefs appropriatelyPatrick Walton2010-12-101-0/+1
|
* rustc: Move refcount incrementing out of line tooPatrick Walton2010-12-101-38/+48
|
* Preliminary translation of expr_index.Graydon Hoare2010-12-101-0/+37
|
* rustc: Move refcount decrement-and-free (drop) logic out-of-linePatrick Walton2010-12-101-55/+124
|
* rustc: Change lazy "and" and "or" to use scope contexts rather than ↵Patrick Walton2010-12-101-4/+4
| | | | sub-block contexts, to run cleanups properly
* rustc: Decouple new_fn_ctxt() from AST function arguments, so that it can be ↵Patrick Walton2010-12-091-11/+17
| | | | used to generate glue
* rustc: Decouple new_fn_ctxt from AST items so that we can use it to generate ↵Patrick Walton2010-12-091-10/+12
| | | | glue too
* First sketch of support for const items, not including most of trans.Graydon Hoare2010-12-091-0/+12
|
* rustc: Mark constant strings as constantsPatrick Walton2010-12-091-0/+1
|
* rustc: Fix indirection problem with tag constructorsPatrick Walton2010-12-091-5/+1
|