aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
...
* rustc: Switch @ty.t to ty.t so that we can change it to a uintPatrick Walton2011-04-227-423/+424
|
* rustc: Eliminate the direct use of ty.t.structPatrick Walton2011-04-225-111/+118
|
* Dispose the module.Rafael Ávila de Espíndola2011-04-221-0/+1
| | | | Thanks to brson for noticing it.
* rustc: Add a fast path when the types to be unified are exactly equalPatrick Walton2011-04-221-0/+3
|
* rustc: Add a fast path if there are no type substitutions to be madePatrick Walton2011-04-221-2/+8
|
* rustc: Improve the efficiency of lookup_item_type() slightlyPatrick Walton2011-04-221-7/+7
|
* Switch to binary search in codemap.lookup_posMarijn Haverbeke2011-04-221-19/+15
| | | | | Patrick observed excessive slowness when looking up positions in rustc. This might help.
* rustc: Intern typesPatrick Walton2011-04-213-331/+73
|
* Fix the signature of expr_extBrian Anderson2011-04-215-8/+8
| | | | The extension body is just a string, not an expression.
* rustc: Add a shallow type equality function, not used yetPatrick Walton2011-04-211-0/+321
|
* rustc: Pass a type store around, which does nothing yetPatrick Walton2011-04-217-440/+600
|
* rustc: Make the parser never assign any types, not even ty_nilPatrick Walton2011-04-211-5/+4
|
* rustc: Get rid of boring_ann(); it duplicates plain_ann()Patrick Walton2011-04-211-17/+14
|
* rustc: Create a unification contextPatrick Walton2011-04-211-99/+75
|
* rustc: Move ty.unify to a separate namespacePatrick Walton2011-04-212-46/+50
|
* Change ty.eq_ty to avoid stringification.Graydon Hoare2011-04-211-43/+304
|
* rustc: Create an item collection context during typechecking; move ↵Patrick Walton2011-04-201-170/+136
| | | | collection to a module
* Fix walk bug that coupled with marijns work to regress stage1.Graydon Hoare2011-04-201-4/+3
|
* rustc: Add a type unification cachePatrick Walton2011-04-201-3/+63
|
* rustc: Define type hashing inductivelyPatrick Walton2011-04-201-12/+97
|
* rustc: Precompute type hashesPatrick Walton2011-04-202-39/+56
|
* rustc: Remove all manual type construction outside ty.rsPatrick Walton2011-04-204-101/+107
|
* rustc: Remove all uses of plain_ty() and friends from outside of ty.rsPatrick Walton2011-04-205-165/+136
|
* rustc: Introduce preferred type constructors, which will eventually ↵Patrick Walton2011-04-201-1/+47
| | | | precompute hashes and intern
* 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
|
* Change collect_upvars from using fold to using walkMarijn Haverbeke2011-04-201-0/+1
|
* Integrate walk.rsMarijn Haverbeke2011-04-202-23/+29
|
* Fix #335, log context needs to be a scope to capture cleanups.Graydon Hoare2011-04-201-1/+1
|
* Small fast-path hack to ty.hash_ty and eq_ty.Graydon Hoare2011-04-191-0/+45
|
* rustc: Add a -noverify optionPatrick Walton2011-04-192-11/+20
|
* 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-192-16/+25
|
* rustc: Use marijnh's stringifier for type hash and equality, since it's not ↵Patrick Walton2011-04-191-2/+9
| | | | sensitive to cnames
* rustc: Make structured comparison glue instead of emitting it inlinePatrick Walton2011-04-192-196/+340
|
* Handle nested items correctly in typestate_checkTim Chevalier2011-04-196-94/+812
| | | | | | | | | | | | | | | | | | | | | | | | Summary says it all. Actually, only nested objects and functions are handled, but that's better than before. The fold that I was using before to traverse a crate wasn't working correctly, because annotations have to reflect the number of local variables of the nearest enclosing function (in turn, because annotations are represented as bit vectors). The fold was traversing the AST in the wrong order, first filling in the annotations correctly, but then re-traversing them with the bit vector length for any outer nested functions, and so on. Remedying this required writing a lot of tedious boilerplate code because I scrapped the idea of using a fold altogether. I also made typestate_check handle unary, field, alt, and fail. Also, some miscellaneous changes: * added annotations to blocks in typeck * fix pprust so it can handle spawn * added more logging functions in util.common * fixed _vec.or * added maybe and from_maybe in option * removed fold_block field from ast_fold, since it was never used
* Remove half-baked 'opacity' layer qualifier.Graydon Hoare2011-04-194-27/+0
|
* Remove effect system from src.Graydon Hoare2011-04-1916-348/+285
|
* rustc: Allow glue to be emitted even for scalar types; this is necessary to ↵Patrick Walton2011-04-191-38/+33
| | | | support compare glue
* rustc: Don't return "result" types from glue helper functions. This allows ↵Patrick Walton2011-04-191-46/+46
| | | | glue to fail.
* rustc: Assert that each basic block isn't terminated before adding ↵Patrick Walton2011-04-192-2/+101
| | | | instructions to it
* replace error logging with log_err in stdlib and rustcMarijn Haverbeke2011-04-1912-113/+111
|
* add log_err to rustcMarijn Haverbeke2011-04-1910-26/+40
|
* Add log_err to rustbootMarijn Haverbeke2011-04-191-1/+1
|
* Support 0 flag in #fmtBrian Anderson2011-04-181-7/+14
|
* Boilerplate city, for anyone who wants it.Graydon Hoare2011-04-181-0/+471
|
* rustc: Add an operation field to compare glue with ==, <=, and < modesPatrick Walton2011-04-182-9/+17
|
* rustc: Create stub glue for structural comparisonPatrick Walton2011-04-182-23/+80
|
* Update foregoing patches to leave rust_crate alone.Marijn Haverbeke2011-04-181-11/+11
| | | | | | | | | Apparently it can't live in the main binary, since on non-Linux platforms, dynamics libs won't find symbols in the binary. This removes the crate_map pointer from rust_crate again, and instead passes it as an extra argument to rust_start. Rustboot doesn't pass this argument, but supposedly that's okay as long as we don't actually use it on that platform.
* Add a -c option.Rafael Ávila de Espíndola2011-04-183-6/+32
|