aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/trans.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Remove redundant trans_drop_str, fix buggy branch in trans_if. Un-XFAIL ↵Graydon Hoare2010-12-091-13/+7
| | | | drop-on-ret.rs.
* Fix boxed returns harder. Un-XFAIL output-slot-variants.rs.Graydon Hoare2010-12-081-6/+5
|
* Fix structure returns harder.Graydon Hoare2010-12-081-0/+9
|
* Fix boxed returns.Graydon Hoare2010-12-081-13/+27
|
* Fix structure-returns.Graydon Hoare2010-12-081-1/+8
|
* Fix log upcall translation bug. Un-XFAIL rec-auto.rs.Graydon Hoare2010-12-081-20/+12
|
* Implement binop= forms. Un-XFAIL bitwise.rs.Graydon Hoare2010-12-081-102/+53
|
* rustc: Allow callees to use alias argsPatrick Walton2010-12-071-6/+9
|
* rustc: Translate function calls with alias parameters (though the callee ↵Patrick Walton2010-12-071-8/+49
| | | | can't use them yet)
* Null slots on missing init, null-check box ptrs on drop. Works around ↵Graydon Hoare2010-12-061-11/+23
| | | | missing typestate pass. Un-XFAIL box-in-tup.rs.
* rustc: Run the verifier over LLVM modules before writing them outPatrick Walton2010-12-061-1/+12
|
* rustc: Translate tag constructors. Can't call them at the moment due to lack ↵Patrick Walton2010-12-061-4/+75
| | | | of alias args, though.
* rustc: Make copy_args_to_allocas not insist on a function type so it's ↵Patrick Walton2010-12-061-10/+13
| | | | easier to make it work with tag constructors
* Drop rec and tup alloca temporariles on block exit.Graydon Hoare2010-12-031-12/+13
|
* rustc: Make new_fn_ctxt and copy_args_to_allocas receive a list of args ↵Patrick Walton2010-12-031-6/+6
| | | | rather than an AST fn, so we can use it for tag constructors
* rustc: Add def ids to variant arguments so we can turn them into function ↵Patrick Walton2010-12-031-2/+2
| | | | arguments later
* rustc: Remove LLVM unions and represent tags as (discriminant, byte blob) pairsPatrick Walton2010-12-031-30/+56
|
* rustc: Set data layout and target triplePatrick Walton2010-12-031-0/+3
|
* Add load_non_structural and use it.Graydon Hoare2010-12-031-9/+27
|
* rustc: Handle n-ary tag constructors in iter_structural_ty (which lets us ↵Patrick Walton2010-12-031-7/+20
| | | | process their refcounts correctly)
* Trim whitespace.Graydon Hoare2010-12-031-3/+3
|
* Change 'stratum' to the friendlier term 'layer'.Graydon Hoare2010-12-031-2/+2
|
* rustc: Translate nullary tag constructorsPatrick Walton2010-12-031-72/+174
|
* Drop slots on the way out of scopes. Un-XFAIL box.rs.Graydon Hoare2010-12-021-6/+22
|
* Modify block ctxt / cleanup handling to only occur on scope blocks.Graydon Hoare2010-12-021-15/+40
|
* Implement translation for deref unop.Graydon Hoare2010-12-021-2/+10
|
* Change order of basic blocks in copy_ty, makes nicer disassembly.Graydon Hoare2010-12-021-1/+1
|
* Don't drop context returned from decl-init call to copy_ty.Graydon Hoare2010-12-021-2/+2
|
* Improve translations of unary box operator and drop_ty on boxes.Graydon Hoare2010-12-021-22/+46
|
* rustc: Change fn_names and fn_ids to item_names and item_ids in trans, since ↵Patrick Walton2010-12-021-12/+12
| | | | we're soon to be storing tags in there too
* rustc: Remove the premature optimization for nullary tag constructors, since ↵Patrick Walton2010-12-021-5/+4
| | | | it'll be no longer necessary once LLVM gets a unit type
* rustc: Remove the overly complex variant_indices and n_ary_variant_indices ↵Patrick Walton2010-12-021-25/+33
| | | | tables
* rustc: Add stub support for tag constructors in transPatrick Walton2010-12-011-0/+120
|
* Add code to fail on non-exhaustive alt matching. Fix all cases this picked ↵Graydon Hoare2010-12-011-4/+35
| | | | up in rustc.