aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/trans.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move all non-decl/non-expr stmts to exprs.Graydon Hoare2011-02-141-20/+20
|
* Switch ast.is_call_expr check in trans to non-typestate form.Graydon Hoare2011-02-141-1/+1
|
* Expand expr_rec to take its optional trailing 'with' parameter.Graydon Hoare2011-02-141-3/+6
|
* Add support for unsigned binops. Closes #57Brian Anderson2011-02-141-16/+54
|
* Translate pat_lit, un-XFAIL alt-pattern-lit.rs for rustc.Graydon Hoare2011-02-101-12/+30
|
* Fix bug in trans_field, un-XFAIL two more tests.Graydon Hoare2011-02-101-3/+1
|
* Change more of trans to rely on tydescs when dealing with generics.Graydon Hoare2011-02-101-37/+66
|
* Switch "." to "_" in name mangling, makes gdb happier. Also factor out into ↵Graydon Hoare2011-02-101-14/+18
| | | | sep() helper.
* Cleanup for 'be' statement and comments about future typestateBrian Anderson2011-02-101-1/+4
|
* Parse 'be' statement. Pass tailcall tests. No actual tailcalls yet.Brian Anderson2011-02-101-0/+9
|
* Elide passed-typarams when tydescs are captured. Un-XFAIL generic-obj.rs.Graydon Hoare2011-02-091-12/+16
|
* Handle subtle view-shift on outptr in generic calls. Can construct generic ↵Graydon Hoare2011-02-081-0/+8
| | | | objs now.
* Overhaul ABI. All retptrs, all the time.Graydon Hoare2011-02-081-254/+224
|
* Parse function declarations.Rafael Ávila de Espíndola2011-02-041-2/+2
|
* Capture typarams into obj, independent of body tydesc.Graydon Hoare2011-02-031-18/+77
|
* Attempt to put out burning tinderbox.Graydon Hoare2011-02-021-1/+5
|
* Hack to work around apparent LLVM bug?Graydon Hoare2011-02-021-1/+7
|
* Store tydesc for whole body, not just fields, in objs and closures. Handles ↵Graydon Hoare2011-02-021-14/+5
| | | | unusual field alignment.
* Handle missing case in linearize_ty_params.Graydon Hoare2011-02-021-0/+1
|
* Change decl_upcall to decl_upcall_glue, more correct name.Graydon Hoare2011-02-021-2/+2
|
* Add trace and trap helpers to trans for low level diagnostics.Graydon Hoare2011-02-021-0/+18
|
* Fix buggy argument assembly for upcall_get_type_desc. Can now complete calls ↵Graydon Hoare2011-02-011-5/+5
| | | | to glue of derived tydescs.
* Implement 'else if'Graydon Hoare2011-02-011-8/+23
|
* Use dynamic GEP and silly offset-encoding on tydescs. Successful call into a ↵Graydon Hoare2011-02-011-40/+70
| | | | derived tydesc.
* Add ty_type.Graydon Hoare2011-02-011-0/+1
|
* More work on derived tydescs. Can compile simple tests with generic objects.Graydon Hoare2011-01-311-29/+49
|
* Majority of the remaining work for derived tydescs. Not quite working yet.Graydon Hoare2011-01-311-106/+159
|
* Run cleanups in reverse order. Not presently observable, no dtors.Graydon Hoare2011-01-311-1/+4
|
* Fix a bug in linearize and get the captured tydescs type right.Graydon Hoare2011-01-281-9/+11
|
* Pass linearized typarams to make_generic_glue. Steps toward derived tydescs.Graydon Hoare2011-01-281-5/+22
|
* Pass tydesc array into type glue fns as first arg. Required for derived ↵Graydon Hoare2011-01-281-40/+53
| | | | tydescs to work.
* Teach rustc to failBrian Anderson2011-01-281-11/+16
|
* Add helper function for derived type descriptors.Graydon Hoare2011-01-271-2/+45
|
* Note issue in comments.Graydon Hoare2011-01-271-3/+2
|
* Implement autoderef in rustc. Un-XFAIL autoderef-full-lval.rs.Graydon Hoare2011-01-241-3/+34
|
* Switch from booleans to symbolic tags in a few places.Graydon Hoare2011-01-241-23/+36
|
* First cut at translating const items. Support the literal forms at least. ↵Graydon Hoare2011-01-211-26/+74
| | | | Un-XFAIL const.rs.
* Fix bug in trans_for, un-XFAIL linear-for-loop.rs.Graydon Hoare2011-01-211-1/+1
|
* First cut of trans_for.Graydon Hoare2011-01-211-0/+38
|
* Tweak effect-checking rules in rustboot, remove/rewrite/re-auth impure cases ↵Graydon Hoare2011-01-211-149/+164
| | | | in trans.rs
* M-x indent-region on trans.rs.Graydon Hoare2011-01-211-27/+35
|
* Implement dynamic GEP enough to permit expr_field to work on tup(T,T,T).Graydon Hoare2011-01-191-2/+104
|
* Add bzero glue and preliminary code for dynamic size/align calculations.Graydon Hoare2011-01-181-15/+170
|
* Use homebrew memcpy, not llvm intrinsic. Can't run the latter on a rust stack.Graydon Hoare2011-01-171-32/+58
|
* Fix a couple bugs in parametric returns.Graydon Hoare2011-01-171-11/+11
|
* Allocate and reload retslots. Copy into them on polymorphic returns.Graydon Hoare2011-01-171-19/+35
|
* 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
|