aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Support octal #fmt conversionsBrian Anderson2011-04-261-0/+7
|
* Speed up calls to get_tydesc and kill cname-redundant glue generation.Graydon Hoare2011-04-261-16/+29
|
* Merge branch 'master' of ssh://github.com/graydon/rustGraydon Hoare2011-04-262-125/+81
|\
| * rustc: Cap ridiculous type name sizesPatrick Walton2011-04-261-1/+3
| |
| * Change rustc to use GetOpts rather than ad-hoc command-line parsingMarijn Haverbeke2011-04-261-124/+78
| | | | | | | | | | NOTE: all 'long' parameters now use a double dash, so --shared, rather than gcc-style -shared.
* | Various bits of trans lint, nothing major.Graydon Hoare2011-04-261-25/+36
|/
* rustc: Add a missing return value to Collect.ty_of_item()Patrick Walton2011-04-251-1/+3
|
* A little more guarding against wasted work in ty, typeck.Graydon Hoare2011-04-252-2/+19
|
* rustc: Use the abbreviated type names to avoid LLVM bitcode size explosionPatrick Walton2011-04-253-5/+11
|
* Kick ty_var and ty_local entries out of the type store. Pre-compute presence ↵Graydon Hoare2011-04-252-72/+183
| | | | of var, local, param and bound_params in types.
* rustc: Add a -save-temps option to save bitcode and write output ↵Patrick Walton2011-04-252-11/+64
| | | | simultaneously; document command line switches
* rustc: Pass a "type context" around instead of directly passing the type ↵Patrick Walton2011-04-257-833/+786
| | | | store; prep for removing type annotations
* Avoid type_store hashtable access for a variety of cases, probably only ↵Graydon Hoare2011-04-252-45/+168
| | | | ty_var matters.
* Skip substitution and/or binding when there's no work to do.Graydon Hoare2011-04-251-0/+34
|
* 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: Use a silly "magic numbers" hack; seems to speed things up a bit.Patrick Walton2011-04-221-2/+41
|
* rustc: Include the cname in the hash to increase entropyPatrick Walton2011-04-221-1/+10
|
* rustc: Thread the type store through everything that needs to access type ↵Patrick Walton2011-04-225-383/+412
| | | | structures
* rustc: Move the type serialization logic to an Encode modulePatrick Walton2011-04-222-97/+108
|
* rustc: Remove direct access to the cname field of typesPatrick Walton2011-04-221-4/+7
|
* 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
|