aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
Commit message (Collapse)AuthorAgeFilesLines
* Switch upcall glues to fastcall as well.Graydon Hoare2010-11-141-7/+4
|
* Remove outptr from module-internal calls; use standard ABI returns.Graydon Hoare2010-11-141-37/+24
|
* Switch module-internal calls (i.e. all user code) to fastcall. Still ↵Graydon Hoare2010-11-141-4/+16
| | | | returning via explicit outptr. Activate glue works by accident.
* Support emitting trap instructions for debugging.Graydon Hoare2010-11-141-0/+7
|
* Correct infinite-loop, block-context mismatches in early cleanups.Graydon Hoare2010-11-141-7/+8
|
* Move phi-node generation into a helper that measures the liveness of each ↵Graydon Hoare2010-11-121-43/+64
| | | | incoming edge. Factorial test now succeeds.
* Load outptr alloca as retval; function call/return now works in rustc.Graydon Hoare2010-11-121-1/+5
|
* Stop translating a block when a sub-statement terminates the llvm bb.Graydon Hoare2010-11-121-0/+5
|
* rustc: Add an annotation to function and type items so that the typechecker ↵Patrick Walton2010-11-103-18/+18
| | | | can store types with them
* Redo the scheme for block context chaining and termination, to simplify and ↵Graydon Hoare2010-11-101-69/+87
| | | | support ret better.
* Teach rustc about const tag value, begin work on trans_copy_ty, make uint's ↵Graydon Hoare2010-11-091-6/+72
| | | | to_str routine less clever and thereby resist overflow.
* Translate ast.box unary expressions and support extraction of TypeRefs from ↵Graydon Hoare2010-11-051-3/+25
| | | | AST annotations.
* Emit WinMain@16 entrypoint on windows.Graydon Hoare2010-11-051-1/+8
|
* Fix two incorrect block-context uses in rustc.Graydon Hoare2010-11-051-2/+2
|
* Teach rustc to generate type descriptors.Graydon Hoare2010-11-051-0/+13
|
* rustc: Implement function typesPatrick Walton2010-11-051-1/+16
|
* Move the option type to its own modulePatrick Walton2010-11-053-25/+25
|
* Revert "Move the option type to its own module"Patrick Walton2010-11-053-6/+6
|
* Move the option type to its own modulePatrick Walton2010-11-053-6/+6
|
* Fix buggy while and do-while translation in rustc. Add test.Graydon Hoare2010-11-041-11/+18
|
* rustc: Use an extensible annotation field instead of putting option[@ty] ↵Patrick Walton2010-11-032-50/+49
| | | | everywhere
* Support while and do-while loops in rustc.Graydon Hoare2010-11-032-0/+71
|
* Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare2010-11-021-16/+16
| | | | impure-effect checking.
* Long line police.Graydon Hoare2010-10-221-3/+5
|
* 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-223-2/+40
|
* 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-193-15/+152
|
* Add a type slot to the ASTPatrick Walton2010-10-193-75/+75
|
* Partial work on adding types to the ASTPatrick Walton2010-10-191-41/+58
|
* Store items and decls in vecs to preserve input order, index externally. ↵Graydon Hoare2010-10-183-96/+117
| | | | Implement block-local name lookup.
* More work on resolving names in rustc. Basic expr_name lookup working on ↵Graydon Hoare2010-10-183-52/+76
| | | | items and args.
* Begin sketching name lookup in rustc.Graydon Hoare2010-10-181-6/+74
|
* Expand rustc's fold to update env on block boundaries.Graydon Hoare2010-10-181-1/+14
|
* Roll back the expr->lval change. We're now LL(1) again.Patrick Walton2010-10-181-69/+32
|
* Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵Graydon Hoare2010-10-152-7/+7
| | | | rustc to use std.util.option. Fix various dependent bugs. Closes #73.
* Finish the fold drivers in fold.rs.Graydon Hoare2010-10-141-11/+109
|
* Stop using bound refs (don't work; leak) and work around auto-deref ↵Graydon Hoare2010-10-141-23/+33
| | | | vec-append bug.
* rustc: Start work on lvalsPatrick Walton2010-10-141-41/+91
|
* rustc: Add mutability to tuple literalsPatrick Walton2010-10-121-4/+12
|
* rustc: Parse letsPatrick Walton2010-10-111-5/+5
|
* rustc: Make functions output a type, not a slotPatrick Walton2010-10-081-4/+4
|
* Add a little code to resolve, to check that the fold interface works.Graydon Hoare2010-10-072-5/+27
|