aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/trans.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Whitespace cleanup.Graydon Hoare2011-01-171-9/+9
|
* Teach copy_ty to finish via memcpy of tydesc-provided size.Graydon Hoare2011-01-171-11/+24
|
* Pass tydescs to parametric fns, along with (dummy, presently) retptr when ↵Graydon Hoare2011-01-141-66/+82
| | | | needed. Can call simple parametric fn now.
* Expand generic info in lval_result.Graydon Hoare2011-01-141-12/+17
|
* Trim long lines.Graydon Hoare2011-01-141-2/+2
|
* Pass tydescs to parametric fns.Graydon Hoare2011-01-141-6/+33
|
* Change single-ident expr_ident to greedy/fat multi-ident expr_path, to ↵Graydon Hoare2011-01-131-4/+4
| | | | handle the module-path/value-indexing distinction.
* Figure out what tydescs we need to pass when translating parametric function ↵Patrick Walton2011-01-121-4/+13
| | | | calls
* Drop closures. Un-XFAIL bind-interior.rs.Graydon Hoare2011-01-071-7/+54
|
* Synthesize closure thunks, and pass closure pointer into fn calls.Graydon Hoare2011-01-071-30/+170
|
* Whitespace cleanup, and copy target into closure.Graydon Hoare2011-01-061-7/+10
|
* Sketch closure-forming logic for nontrivial bindings.Graydon Hoare2011-01-051-4/+73
|
* Translate trivial bindings. Un-XFAIL bind-trivial.rs.Graydon Hoare2011-01-051-8/+20
|
* Use uniform pair representation of functions everywhere, including static ↵Graydon Hoare2011-01-051-38/+113
| | | | functions.
* Correct function pointer type in closure.Graydon Hoare2011-01-041-2/+2
|
* Begin sketching translation of bind_expr. No captures yet, also crashy.Graydon Hoare2011-01-031-1/+40
|
* 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
|