| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove some truly wrong logic in parse_constrs | Marijn Haverbeke | 2011-05-12 | 1 | -13/+8 |
| | | |||||
| * | Keep resolve data in external hash table, rather than embedded defs | Marijn Haverbeke | 2011-05-12 | 14 | -481/+516 |
| | | | | | | | | | | | | | | One step closer to removing fold and having a single, immutable AST. Resolve still uses fold, because it has to detect and transform expr_field expressions. If we go through on our plan of moving to a different syntax for module dereferencing, the parser can spit out expr_field expressions, and resolve can move to walk. (I am truly sorry for the things I did in typestate_check.rs. I expect we'll want to change that to walk as well in the near future, at which point it should probably pass around a context record, which could hold the def_map.) | ||||
| * | Ensure ann tags are actually kept around during typechecking | Marijn Haverbeke | 2011-05-12 | 6 | -202/+224 |
| | | | | | | | This way, the tag assigned by the parser stays with the node. I realize ann replacing is probably going away real soon, but I needed this now for moving the resolve defs out of the AST. | ||||
| * | Properly lex block comments followed by EOF | Marijn Haverbeke | 2011-05-12 | 1 | -4/+4 |
| | | |||||
| * | Provide a more useful message when failing to translate a const | Marijn Haverbeke | 2011-05-12 | 1 | -0/+3 |
| | | |||||
| * | Remove unused filename parameter from lexer.new_reader | Brian Anderson | 2011-05-11 | 2 | -3/+3 |
| | | |||||
| * | Give the lexer a session so that it can fail more informatively | Brian Anderson | 2011-05-11 | 4 | -22/+34 |
| | | |||||
| * | rustc: Represent types as uints. Cuts typechecking down from 14s to 12s. | Patrick Walton | 2011-05-11 | 1 | -148/+143 |
| | | |||||
| * | rustc: Remove a few kludges intended to work around rustboot's lack of ↵ | Patrick Walton | 2011-05-11 | 1 | -74/+4 |
| | | | | | structural comparison from equal_type_structures() | ||||
| * | rustc: Remove magic numbers; they aren't a win | Patrick Walton | 2011-05-11 | 1 | -40/+3 |
| | | |||||
| * | rustc: Intern all types. 4s regression. | Patrick Walton | 2011-05-11 | 1 | -17/+1 |
| | | |||||
| * | rustc: Hoist derived type descriptors to the top of the function | Patrick Walton | 2011-05-11 | 1 | -69/+120 |
| | | |||||
| * | Remove mod indices from the AST | Marijn Haverbeke | 2011-05-11 | 6 | -202/+165 |
| | | | | | | They are now created by the resolve pass, which is the only pass that needs them, and kept internal to that pass. | ||||
| * | Get rid of arm indices | Marijn Haverbeke | 2011-05-11 | 6 | -36/+26 |
| | | |||||
| * | Get rid of block indices | Marijn Haverbeke | 2011-05-11 | 6 | -116/+62 |
| | | |||||
| * | Stop depending on block indices in capture.rs | Marijn Haverbeke | 2011-05-11 | 1 | -5/+9 |
| | | |||||
| * | Hash only on def_num when storing def_ids that are local | Marijn Haverbeke | 2011-05-11 | 1 | -13/+14 |
| | | |||||
| * | Use a const for crate-num-zero (ast.local_crate) | Marijn Haverbeke | 2011-05-11 | 3 | -4/+4 |
| | | |||||
| * | Cache external crate lookups in resolve.rs | Marijn Haverbeke | 2011-05-11 | 1 | -6/+28 |
| | | | | | | | According to --time-passes, resolution went from 2 to 0 seconds. Not really the bottleneck... but if we want to be crazy fast, just consider this a future bottleneck that was fixed very timely. | ||||
| * | Rewrite comp/middle/resolve.rs | Marijn Haverbeke | 2011-05-11 | 8 | -655/+556 |
| | | | | | | | | | | * Cleans up the algorithm * Move first pass to walk (second still folds) * Support part of a type/value namespace split (crate metadata and module indices still need to be taught about this) * Remove a few blatant inefficiencies (import tables being recreated for every lookup, most importantly) | ||||
| * | More alias-ification of trans. | Graydon Hoare | 2011-05-11 | 1 | -279/+285 |
| | | |||||
| * | Add meta info to rustc.rc | Brian Anderson | 2011-05-10 | 1 | -0/+6 |
| | | |||||
| * | rustc: Don't interleave allocas with stores when copying arguments to allocas | Patrick Walton | 2011-05-10 | 1 | -11/+7 |
| | | |||||
| * | Begin alias-ifying trans. | Graydon Hoare | 2011-05-10 | 1 | -82/+82 |
| | | |||||
| * | Avoid mangle_name_by_type_only call in tydesc names unless debugging. | Graydon Hoare | 2011-05-10 | 1 | -1/+8 |
| | | |||||
| * | rustc: Lower the size limit on ty_to_short_str() and always call it in favor ↵ | Patrick Walton | 2011-05-10 | 2 | -2/+2 |
| | | | | | of direct calls to metadata.Encode.ty_str() in trans | ||||
| * | rustc: Make -g not take an argument | Patrick Walton | 2011-05-10 | 1 | -1/+1 |
| | | |||||
| * | rustc: Number everything with an annotation | Patrick Walton | 2011-05-10 | 9 | -175/+193 |
| | | |||||
| * | Only name LLVM values / blocks / types when saving temporaries. | Graydon Hoare | 2011-05-10 | 1 | -17/+27 |
| | | |||||
| * | Add --time-llvm-passes. | Graydon Hoare | 2011-05-10 | 4 | -4/+26 |
| | | |||||
| * | rustc: Cache intermediate results of metadata.Encode.ty_str. Shaves 30% off ↵ | Patrick Walton | 2011-05-10 | 3 | -3/+22 |
| | | | | | translation time. | ||||
| * | Switch memcpy to memmove since we're willing to compile x = x and such. | Graydon Hoare | 2011-05-10 | 1 | -18/+17 |
| | | |||||
| * | rustc: Get rid of native Rust glue for all upcalls except the exit task glue | Patrick Walton | 2011-05-10 | 2 | -133/+114 |
| | | |||||
| * | Re-enable use of llvm intrinsics for memcpy, memset. Should have aligned ↵ | Graydon Hoare | 2011-05-10 | 1 | -106/+77 |
| | | | | | stack now. | ||||
| * | Fix long lines in fold.rs, typeck.rs | Brian Anderson | 2011-05-09 | 2 | -2/+4 |
| | | |||||
| * | Alias-ify fold and its users, remove another 85kb. | Graydon Hoare | 2011-05-09 | 6 | -357/+378 |
| | | |||||
| * | rustc: Give our upcall definitions the right values | Patrick Walton | 2011-05-09 | 1 | -40/+50 |
| | | |||||
| * | Alias-ify walk, typeck, metadata. Cuts another 80kb off rustc. | Graydon Hoare | 2011-05-09 | 6 | -150/+153 |
| | | |||||
| * | rustc: Declare upcalls with real signatures; preparation for killing ↵ | Patrick Walton | 2011-05-09 | 3 | -0/+151 |
| | | | | | rust_native_rust_* stubs | ||||
| * | Remove boxes from token.t. | Graydon Hoare | 2011-05-09 | 3 | -42/+79 |
| | | |||||
| * | rustc: Alias fix part 2 -- Check that the aliasness of function parameters ↵ | Patrick Walton | 2011-05-09 | 2 | -10/+11 |
| | | | | | matches. Add a test case. | ||||
| * | Alias-ify a variety of fn signatures in ty. Cuts 180kb off rustc. | Graydon Hoare | 2011-05-09 | 1 | -112/+114 |
| | | |||||
| * | rustc: Alias fix part 1 -- Separate out AST modes from typechecker modes, ↵ | Patrick Walton | 2011-05-09 | 6 | -71/+63 |
| | | | | | and introduce an "either value or alias" mode | ||||
| * | rustc: Replace our homebrew list of passes with the standard function and ↵ | Patrick Walton | 2011-05-09 | 2 | -51/+21 |
| | | | | | module passes, along with the TargetData passes. | ||||
| * | rustc: Stop emitting zero-length arrays | Patrick Walton | 2011-05-08 | 1 | -14/+42 |
| | | |||||
| * | Stop stringifying integers to get integral constants. | Graydon Hoare | 2011-05-07 | 2 | -32/+37 |
| | | |||||
| * | rustc: Make llvm_err() conform to Postel's law a little better | Patrick Walton | 2011-05-06 | 1 | -1/+6 |
| | | |||||
| * | Fix GenericOS.getenv returning a raw str, return an Option.t[str] instead. | Graydon Hoare | 2011-05-06 | 1 | -2/+11 |
| | | |||||
| * | rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that ↵ | Patrick Walton | 2011-05-06 | 1 | -2/+2 |
| | | | | | supports 8 arguments. | ||||
| * | Rename std modules to be camelcased | Marijn Haverbeke | 2011-05-06 | 27 | -1321/+1321 |
| | | | | | (Have fun mergining your stuff with this.) | ||||