aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/trans.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Pass outptr as in rustboot. Probably need to revisit this ABI. Also ↵Graydon Hoare2010-10-221-5/+18
| | | | disgusting hack employed. Please remove.
* Collect all fns first so decl order doesn't matter to translation.Graydon Hoare2010-10-221-13/+41
|
* Extremely broken hacked-up incorrect attempt at 'ret'.Graydon Hoare2010-10-221-0/+20
|
* Implement check-exprs, un-xfail 5 rustc tests.Graydon Hoare2010-10-221-0/+24
|
* Add makefile bits to run rustc on the testsuite as part of 'make check'. ↵Graydon Hoare2010-10-221-11/+0
| | | | Mostly xfailed.
* Give rustc the beginnings of an option-processing loop (at least -nowarn, -h ↵Graydon Hoare2010-10-221-2/+2
| | | | and -o).
* Add support for passing args to fns in rustc.Graydon Hoare2010-10-211-18/+49
|
* Support basic function calls in rustc.Graydon Hoare2010-10-211-8/+39
|
* Translate lazy && and || operators in rustc.Graydon Hoare2010-10-191-7/+58
|
* Parse and translate assignments.Graydon Hoare2010-10-191-17/+35
|
* Teach trans to allocate, initialize and load from local variables.Graydon Hoare2010-10-191-1/+131
|
* Add a type slot to the ASTPatrick Walton2010-10-191-6/+6
|
* Store items and decls in vecs to preserve input order, index externally. ↵Graydon Hoare2010-10-181-7/+8
| | | | Implement block-local name lookup.
* More work on resolving names in rustc. Basic expr_name lookup working on ↵Graydon Hoare2010-10-181-1/+1
| | | | items and args.
* Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵Graydon Hoare2010-10-151-3/+3
| | | | rustc to use std.util.option. Fix various dependent bugs. Closes #73.
* Add the beginnings of an ast folder plus an empty module for resolve.Graydon Hoare2010-10-061-1/+1
|
* Make ast node box uses more uniform in rustc.Graydon Hoare2010-10-061-4/+4
|
* Add input coordinate tracking to all major rustc ast nodes.Graydon Hoare2010-10-051-9/+9
|
* Teach rustc about phi nodes, block relationships. Translate if- and ↵Graydon Hoare2010-10-041-98/+251
| | | | block-expressions.
* Support refcount-drop and conditional free in rustc.Graydon Hoare2010-10-011-10/+48
|
* Fix bug in bind thunks failing top drop unbound args; add test and adjust ↵Graydon Hoare2010-09-301-5/+4
| | | | rustc to use bind again.
* Patchwork of attempted fixes to effect system and gc system; eventually give ↵Graydon Hoare2010-09-291-19/+69
| | | | up and disable it entirely in the runtime. Will need extensive reworking.
* Switch boolean operands to 1-bit, as llvm prefers. Will promote to 8-bit ↵Graydon Hoare2010-09-281-4/+7
| | | | when storing to memory.
* Translate a modest selection of easy binops.Graydon Hoare2010-09-281-25/+149
|
* Translate literal int, char, bool and str types, as well as logging them.Graydon Hoare2010-09-281-20/+91
|
* Start building up the expression tower.Graydon Hoare2010-09-271-4/+4
|
* Translate exit-task glue such that rustc's output programs exit properly.Graydon Hoare2010-09-271-17/+67
|
* First linkable and executable translation from rustc. Upcalls to log, passes ↵Graydon Hoare2010-09-271-9/+51
| | | | wrong arg, crashes. Baby steps.
* Construct the crate constant in rustc.Graydon Hoare2010-09-241-1/+62
|
* Modify the task type to not contain any opaques; apparently these make LLVM ↵Graydon Hoare2010-09-241-6/+25
| | | | cross.
* More work on trans, almost getting to the point of emitting an upcall.Graydon Hoare2010-09-241-32/+101
|
* Add trans.get_upcall and skeleton for trans_log.Graydon Hoare2010-09-231-2/+36
|
* Declare the global and upcall glues as ValueRefs in rustc's trans.Graydon Hoare2010-09-231-5/+62
|
* Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare2010-09-231-0/+122
rustc, and move files around.