aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/trans.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Use different syntax for checks that matter to typestateTim Chevalier2011-05-021-34/+38
| | | | | | | | | | This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
* rustc: Add a "fat tydesc" LLVM type to transPatrick Walton2011-05-021-0/+6
|
* rustc: Run scope cleanups in the implicit block created by log statements. ↵Patrick Walton2011-04-291-14/+18
| | | | Fixes a leak.
* rustc: Emit pure native glue; we don't call it yetPatrick Walton2011-04-291-8/+19
|
* rustc: Start threading a purity flag through upcallsPatrick Walton2011-04-291-20/+26
|
* Temporarily disable dtors; they broke self-hosting.Graydon Hoare2011-04-291-1/+3
|
* rustc: First steps to determine whether tydescs escapePatrick Walton2011-04-291-17/+30
|
* Don't emit metadata unless compiling -shared.Graydon Hoare2011-04-291-1/+1
|
* Implement destructors in rustcMarijn Haverbeke2011-04-291-40/+60
| | | | | | Unlike rustboot, rustc keeps it destructors in vtables. Entry 0 holds either the destructor for the obj or a NULL pointer. The method offsets start at 1.
* rustc: Add a --time-passes optionPatrick Walton2011-04-291-1/+1
|
* rustc: Handle alias parameters in native functions properlyPatrick Walton2011-04-291-14/+20
|
* Intern metadata while writing, shrink stage1 from 12mb to 5.7mb.Graydon Hoare2011-04-291-4/+11
|
* rustc: Fix vec append glue for strings. Add a test case.Patrick Walton2011-04-281-5/+8
|
* rustc: Add some value names to the vec append glue function. Un-XFAIL ↵Patrick Walton2011-04-281-0/+6
| | | | vec-growth.rs.
* More attempts at fixing broken vec-append glue.Graydon Hoare2011-04-281-3/+3
|
* Make the no-growth path (previously never exercised) in rustc *work*.Graydon Hoare2011-04-281-2/+1
|
* Actually hit the no-growth path on vec-append.Graydon Hoare2011-04-281-2/+12
|
* Drop args in native stubs too.Graydon Hoare2011-04-281-0/+11
|
* Fix some nested patterns in rustcTim Chevalier2011-04-281-0/+2
| | | | | | In rustc, nested patterns were potentially matching when they shouldn't match, because a loop index wasn't being incremented. Fixed it and added one test case.
* Actually perform take/drop on args (oh my!)Graydon Hoare2011-04-281-4/+36
|
* Cache sha1 values of types, use seq-based mangling for glue as it's private ↵Graydon Hoare2011-04-271-10/+17
| | | | anyways.
* Partly disable simplified-type glue optimization due to compile-time cost.Graydon Hoare2011-04-271-1/+11
|
* rustc: Ignore the return value of native functions that return nil. stage1 ↵Patrick Walton2011-04-261-1/+10
| | | | can build libstd now, though it leaks.
* rustc: Actually write the optimized bitcode when --save-temps is onPatrick Walton2011-04-261-12/+13
|
* Speed up calls to get_tydesc and kill cname-redundant glue generation.Graydon Hoare2011-04-261-16/+29
|
* Various bits of trans lint, nothing major.Graydon Hoare2011-04-261-25/+36
|
* rustc: Use the abbreviated type names to avoid LLVM bitcode size explosionPatrick Walton2011-04-251-2/+3
|
* Kick ty_var and ty_local entries out of the type store. Pre-compute presence ↵Graydon Hoare2011-04-251-6/+7
| | | | of var, local, param and bound_params in types.
* rustc: Add a -save-temps option to save bitcode and write output ↵Patrick Walton2011-04-251-6/+49
| | | | simultaneously; document command line switches
* rustc: Pass a "type context" around instead of directly passing the type ↵Patrick Walton2011-04-251-233/+223
| | | | store; prep for removing type annotations
* Bind tag members as aliases rather than new locals.Graydon Hoare2011-04-251-19/+18
|
* Fix busted iter/put code. Un-XFAIL foreach-box-drop.rs.Graydon Hoare2011-04-231-95/+94
|
* rustc: Thread the type store through everything that needs to access type ↵Patrick Walton2011-04-221-168/+186
| | | | structures
* rustc: Move the type serialization logic to an Encode modulePatrick Walton2011-04-221-1/+4
|
* rustc: Switch @ty.t to ty.t so that we can change it to a uintPatrick Walton2011-04-221-152/+152
|
* rustc: Eliminate the direct use of ty.t.structPatrick Walton2011-04-221-32/+32
|
* Dispose the module.Rafael Ávila de Espíndola2011-04-221-0/+1
| | | | Thanks to brson for noticing it.
* rustc: Intern typesPatrick Walton2011-04-211-2/+2
|
* rustc: Pass a type store around, which does nothing yetPatrick Walton2011-04-211-82/+115
|
* rustc: Remove all manual type construction outside ty.rsPatrick Walton2011-04-201-4/+4
|
* rustc: Remove all uses of plain_ty() and friends from outside of ty.rsPatrick Walton2011-04-201-40/+30
|
* Remove last uses of fold from trans.rsMarijn Haverbeke2011-04-201-39/+34
|
* Change trans.collect_items to use walk, not foldMarijn Haverbeke2011-04-201-127/+112
|
* Integrate walk.rsMarijn Haverbeke2011-04-201-22/+28
|
* Fix #335, log context needs to be a scope to capture cleanups.Graydon Hoare2011-04-201-1/+1
|
* rustc: Add a -noverify optionPatrick Walton2011-04-191-6/+9
|
* Add testcase for bootstrap blocker and fix for each result type to nil.Graydon Hoare2011-04-191-3/+4
|
* rustc: Cache the results of type_of()Patrick Walton2011-04-191-0/+9
|
* rustc: Make structured comparison glue instead of emitting it inlinePatrick Walton2011-04-191-196/+333
|
* rustc: Allow glue to be emitted even for scalar types; this is necessary to ↵Patrick Walton2011-04-191-38/+33
| | | | support compare glue