aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
* Translate typeck.ty_fn to a TypeRef. Can compile int.rs test now.Graydon Hoare2010-11-191-0/+13
|
* rustc: First stab at a typecheckerPatrick Walton2010-11-195-49/+912
|
* Parse type items, nil types, named types. Fix some parser bugs. Enable ↵Graydon Hoare2010-11-191-6/+77
| | | | arith-0 and arith-2 tests.
* Isolate while-header bug to minimal testcase, fix in rustboot, remove ↵Graydon Hoare2010-11-191-13/+2
| | | | workaround in rustc.
* Work around Yet Another Typestate Lifecycle Bug in rustboot.Graydon Hoare2010-11-191-2/+13
|
* Fix typo in x86 backend glue that was, by luck, only crashing on OSX.Graydon Hoare2010-11-151-1/+1
|
* Switch upcall glues to fastcall as well.Graydon Hoare2010-11-143-17/+24
|
* Remove outptr from module-internal calls; use standard ABI returns.Graydon Hoare2010-11-142-46/+33
|
* 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-142-0/+20
|
* Correct infinite-loop, block-context mismatches in early cleanups.Graydon Hoare2010-11-141-7/+8
|
* rustc: Add a type annotation for localsPatrick Walton2010-11-122-3/+6
|
* 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-105-23/+23
| | | | can store types with them
* Redo the scheme for block context chaining and termination, to simplify and ↵Graydon Hoare2010-11-102-69/+89
| | | | support ret better.
* Teach rustc about const tag value, begin work on trans_copy_ty, make uint's ↵Graydon Hoare2010-11-092-6/+75
| | | | 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.
* Move symbol prefix logic into separate function, add underscore prefix for ↵Graydon Hoare2010-11-051-4/+10
| | | | windows.
* 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
|
* Switch rustc to llvm 2.8 rather than 2.8svn on windows.Graydon Hoare2010-11-051-1/+1
|
* rustc: Implement function typesPatrick Walton2010-11-053-1/+60
|
* Move the option type to its own modulePatrick Walton2010-11-056-45/+44
|
* Revert "Move the option type to its own module"Patrick Walton2010-11-056-14/+15
|
* Move the option type to its own modulePatrick Walton2010-11-056-15/+14
|
* Fix buggy while and do-while translation in rustc. Add test.Graydon Hoare2010-11-042-11/+19
|
* rustc: Use an extensible annotation field instead of putting option[@ty] ↵Patrick Walton2010-11-034-89/+94
| | | | everywhere
* Support while and do-while loops in rustc.Graydon Hoare2010-11-034-0/+116
|
* Teach rustc lexer about changes to stratum, opacity and effect keywords.Graydon Hoare2010-11-032-5/+21
|
* Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare2010-11-021-16/+16
| | | | impure-effect checking.
* First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare2010-11-024-57/+57
|
* 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-222-0/+36
|
* Don't use string == in x86.rs, doesn't work.Graydon Hoare2010-10-221-1/+1
|
* rustc: Add an "_" prefix to assembler-generated symbols on MacPatrick Walton2010-10-221-0/+5
|
* Implement check-exprs, un-xfail 5 rustc tests.Graydon Hoare2010-10-225-2/+57
|
* 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-222-11/+99
| | | | and -o).
* Make append take a mutable &. Not even checked at present, tsk tsk.Graydon Hoare2010-10-221-1/+1
|
* 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
|
* Teach rustc to parse call exprs.Graydon Hoare2010-10-211-0/+13
|
* line length police; moved comp.util.bits to std.bitvDave Herman2010-10-212-464/+0
|
* oops, removed bits.test() from mainDave Herman2010-10-211-4/+0
|
* tests and bugfixes: fns take aliases, fixed binary arithmetic in create, ↵Dave Herman2010-10-212-29/+322
| | | | eliminated wasted bit per uint