| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | rustc: Eliminate the direct use of ty.t.struct | Patrick Walton | 2011-04-22 | 5 | -111/+118 | |
| | | ||||||
| * | Dispose the module. | Rafael Ávila de Espíndola | 2011-04-22 | 2 | -0/+2 | |
| | | | | | Thanks to brson for noticing it. | |||||
| * | rustc: Add a fast path when the types to be unified are exactly equal | Patrick Walton | 2011-04-22 | 1 | -0/+3 | |
| | | ||||||
| * | rustc: Add a fast path if there are no type substitutions to be made | Patrick Walton | 2011-04-22 | 1 | -2/+8 | |
| | | ||||||
| * | rustc: Improve the efficiency of lookup_item_type() slightly | Patrick Walton | 2011-04-22 | 1 | -7/+7 | |
| | | ||||||
| * | Switch to binary search in codemap.lookup_pos | Marijn Haverbeke | 2011-04-22 | 1 | -19/+15 | |
| | | | | | | Patrick observed excessive slowness when looking up positions in rustc. This might help. | |||||
| * | Minimize calls to hash function in map.rs | Graydon Hoare | 2011-04-22 | 1 | -11/+12 | |
| | | ||||||
| * | rustc: Intern types | Patrick Walton | 2011-04-21 | 3 | -331/+73 | |
| | | ||||||
| * | New minimal test for current stage2 blocker. | Graydon Hoare | 2011-04-22 | 1 | -0/+17 | |
| | | ||||||
| * | Fix the signature of expr_ext | Brian Anderson | 2011-04-21 | 5 | -8/+8 | |
| | | | | | The extension body is just a string, not an expression. | |||||
| * | test: Un-XFAIL drop-parametric-closure-with-bound-box.rs, oops. | Patrick Walton | 2011-04-21 | 1 | -2/+0 | |
| | | ||||||
| * | test: XFAIL lib-box on stage0. Upstream LLVM doesn't have the library ↵ | Patrick Walton | 2011-04-21 | 2 | -0/+4 | |
| | | | | | reading patch yet. | |||||
| * | rustc: Add a shallow type equality function, not used yet | Patrick Walton | 2011-04-21 | 1 | -0/+321 | |
| | | ||||||
| * | stdlib: Add a pointer equality function to the standard library and a test case | Patrick Walton | 2011-04-21 | 5 | -0/+27 | |
| | | ||||||
| * | rustc: Pass a type store around, which does nothing yet | Patrick Walton | 2011-04-21 | 7 | -440/+600 | |
| | | ||||||
| * | rustc: Make the parser never assign any types, not even ty_nil | Patrick Walton | 2011-04-21 | 1 | -5/+4 | |
| | | ||||||
| * | rustc: Get rid of boring_ann(); it duplicates plain_ann() | Patrick Walton | 2011-04-21 | 1 | -17/+14 | |
| | | ||||||
| * | rustc: Create a unification context | Patrick Walton | 2011-04-21 | 1 | -99/+75 | |
| | | ||||||
| * | rustc: Move ty.unify to a separate namespace | Patrick Walton | 2011-04-21 | 2 | -46/+50 | |
| | | ||||||
| * | Change ty.eq_ty to avoid stringification. | Graydon Hoare | 2011-04-21 | 1 | -43/+304 | |
| | | ||||||
| * | rustc: Create an item collection context during typechecking; move ↵ | Patrick Walton | 2011-04-20 | 1 | -170/+136 | |
| | | | | | collection to a module | |||||
| * | Fix walk bug that coupled with marijns work to regress stage1. | Graydon Hoare | 2011-04-20 | 1 | -4/+3 | |
| | | ||||||
| * | rustc: Add a type unification cache | Patrick Walton | 2011-04-20 | 1 | -3/+63 | |
| | | ||||||
| * | rustc: Define type hashing inductively | Patrick Walton | 2011-04-20 | 1 | -12/+97 | |
| | | ||||||
| * | rustc: Precompute type hashes | Patrick Walton | 2011-04-20 | 2 | -39/+56 | |
| | | ||||||
| * | rustc: Remove all manual type construction outside ty.rs | Patrick Walton | 2011-04-20 | 4 | -101/+107 | |
| | | ||||||
| * | rustc: Remove all uses of plain_ty() and friends from outside of ty.rs | Patrick Walton | 2011-04-20 | 5 | -165/+136 | |
| | | ||||||
| * | rustc: Introduce preferred type constructors, which will eventually ↵ | Patrick Walton | 2011-04-20 | 1 | -1/+47 | |
| | | | | | precompute hashes and intern | |||||
| * | Remove last uses of fold from trans.rs | Marijn Haverbeke | 2011-04-20 | 1 | -39/+34 | |
| | | ||||||
| * | Change trans.collect_items to use walk, not fold | Marijn Haverbeke | 2011-04-20 | 1 | -127/+112 | |
| | | ||||||
| * | Change collect_upvars from using fold to using walk | Marijn Haverbeke | 2011-04-20 | 1 | -0/+1 | |
| | | ||||||
| * | Integrate walk.rs | Marijn Haverbeke | 2011-04-20 | 2 | -23/+29 | |
| | | ||||||
| * | Fix #335, log context needs to be a scope to capture cleanups. | Graydon Hoare | 2011-04-20 | 2 | -1/+7 | |
| | | ||||||
| * | Small fast-path hack to ty.hash_ty and eq_ty. | Graydon Hoare | 2011-04-19 | 1 | -0/+45 | |
| | | ||||||
| * | rustc: Add a -noverify option | Patrick Walton | 2011-04-19 | 2 | -11/+20 | |
| | | ||||||
| * | Add testcase for bootstrap blocker and fix for each result type to nil. | Graydon Hoare | 2011-04-19 | 2 | -3/+26 | |
| | | ||||||
| * | rustc: Cache the results of type_of() | Patrick Walton | 2011-04-19 | 2 | -16/+25 | |
| | | ||||||
| * | rustc: Use marijnh's stringifier for type hash and equality, since it's not ↵ | Patrick Walton | 2011-04-19 | 1 | -2/+9 | |
| | | | | | sensitive to cnames | |||||
| * | Un-XFAIL a few recently passing tests. | Graydon Hoare | 2011-04-19 | 6 | -8/+0 | |
| | | ||||||
| * | rustc: Make structured comparison glue instead of emitting it inline | Patrick Walton | 2011-04-19 | 4 | -197/+350 | |
| | | ||||||
| * | Handle nested items correctly in typestate_check | Tim Chevalier | 2011-04-19 | 9 | -99/+833 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Hoare | 2011-04-19 | 10 | -68/+4 | |
| | | ||||||
| * | Remove effect system from src. | Graydon Hoare | 2011-04-19 | 82 | -1038/+508 | |
| | | ||||||
| * | rustc: Allow glue to be emitted even for scalar types; this is necessary to ↵ | Patrick Walton | 2011-04-19 | 1 | -38/+33 | |
| | | | | | support compare glue | |||||
| * | rustc: Don't return "result" types from glue helper functions. This allows ↵ | Patrick Walton | 2011-04-19 | 1 | -46/+46 | |
| | | | | | glue to fail. | |||||
| * | rustc: Assert that each basic block isn't terminated before adding ↵ | Patrick Walton | 2011-04-19 | 2 | -2/+101 | |
| | | | | | instructions to it | |||||
| * | add rustboot-specific log upcalls to .def file | Marijn Haverbeke | 2011-04-19 | 1 | -0/+2 | |
| | | ||||||
| * | Overhaul logging system in runtime | Marijn Haverbeke | 2011-04-19 | 24 | -637/+463 | |
| | | | | | | | | | | | | | | | See https://github.com/graydon/rust/wiki/Logging-vision The runtime logging categories are now treated in the same way as modules in compiled code. Each domain now has a log_lvl that can be used to restrict the logging from that domain (will be used to allow logging to be restricted to a single domain). Features dropped (can be brought back to life if there is interest): - Logger indentation - Multiple categories per log statement - I possibly broke some of the color code -- it confuses me | |||||
| * | replace error logging with log_err in stdlib and rustc | Marijn Haverbeke | 2011-04-19 | 16 | -132/+132 | |
| | | ||||||
| * | add log_err to rustc | Marijn Haverbeke | 2011-04-19 | 10 | -26/+40 | |
| | | ||||||