about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-05-11rustc: Remove a few kludges intended to work around rustboot's lack of ↵Patrick Walton-74/+4
structural comparison from equal_type_structures()
2011-05-11rustc: Remove magic numbers; they aren't a winPatrick Walton-40/+3
2011-05-11rustc: Intern all types. 4s regression.Patrick Walton-17/+1
2011-05-11rustc: Hoist derived type descriptors to the top of the functionPatrick Walton-69/+120
2011-05-11Remove mod indices from the ASTMarijn Haverbeke-202/+165
They are now created by the resolve pass, which is the only pass that needs them, and kept internal to that pass.
2011-05-11Get rid of arm indicesMarijn Haverbeke-36/+26
2011-05-11Get rid of block indicesMarijn Haverbeke-116/+62
2011-05-11Stop depending on block indices in capture.rsMarijn Haverbeke-5/+9
2011-05-11Hash only on def_num when storing def_ids that are localMarijn Haverbeke-13/+14
2011-05-11Use a const for crate-num-zero (ast.local_crate)Marijn Haverbeke-4/+4
2011-05-11Cache external crate lookups in resolve.rsMarijn Haverbeke-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.
2011-05-11Rewrite comp/middle/resolve.rsMarijn Haverbeke-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)
2011-05-11More alias-ification of trans.Graydon Hoare-279/+285
2011-05-10Add meta info to rustc.rcBrian Anderson-0/+6
2011-05-10rustc: Don't interleave allocas with stores when copying arguments to allocasPatrick Walton-11/+7
2011-05-10Begin alias-ifying trans.Graydon Hoare-82/+82
2011-05-10Avoid mangle_name_by_type_only call in tydesc names unless debugging.Graydon Hoare-1/+8
2011-05-10rustc: Lower the size limit on ty_to_short_str() and always call it in favor ↵Patrick Walton-2/+2
of direct calls to metadata.Encode.ty_str() in trans
2011-05-10rustc: Make -g not take an argumentPatrick Walton-1/+1
2011-05-10rustc: Number everything with an annotationPatrick Walton-175/+193
2011-05-10Only name LLVM values / blocks / types when saving temporaries.Graydon Hoare-17/+27
2011-05-10Add --time-llvm-passes.Graydon Hoare-4/+26
2011-05-10rustc: Cache intermediate results of metadata.Encode.ty_str. Shaves 30% off ↵Patrick Walton-3/+22
translation time.
2011-05-10Switch memcpy to memmove since we're willing to compile x = x and such.Graydon Hoare-18/+17
2011-05-10rustc: Get rid of native Rust glue for all upcalls except the exit task gluePatrick Walton-133/+114
2011-05-10Re-enable use of llvm intrinsics for memcpy, memset. Should have aligned ↵Graydon Hoare-106/+77
stack now.
2011-05-09Fix long lines in fold.rs, typeck.rsBrian Anderson-2/+4
2011-05-09Alias-ify fold and its users, remove another 85kb.Graydon Hoare-357/+378
2011-05-09rustc: Give our upcall definitions the right valuesPatrick Walton-40/+50
2011-05-09Alias-ify walk, typeck, metadata. Cuts another 80kb off rustc.Graydon Hoare-150/+153
2011-05-09rustc: Declare upcalls with real signatures; preparation for killing ↵Patrick Walton-0/+151
rust_native_rust_* stubs
2011-05-09Remove boxes from token.t.Graydon Hoare-42/+79
2011-05-09rustc: Alias fix part 2 -- Check that the aliasness of function parameters ↵Patrick Walton-10/+11
matches. Add a test case.
2011-05-09Alias-ify a variety of fn signatures in ty. Cuts 180kb off rustc.Graydon Hoare-112/+114
2011-05-09rustc: Alias fix part 1 -- Separate out AST modes from typechecker modes, ↵Patrick Walton-71/+63
and introduce an "either value or alias" mode
2011-05-09rustc: Replace our homebrew list of passes with the standard function and ↵Patrick Walton-51/+21
module passes, along with the TargetData passes.
2011-05-08rustc: Stop emitting zero-length arraysPatrick Walton-14/+42
2011-05-07Stop stringifying integers to get integral constants.Graydon Hoare-32/+37
2011-05-06rustc: Make llvm_err() conform to Postel's law a little betterPatrick Walton-1/+6
2011-05-06Fix GenericOS.getenv returning a raw str, return an Option.t[str] instead.Graydon Hoare-2/+11
2011-05-06rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that ↵Patrick Walton-2/+2
supports 8 arguments.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-1321/+1321
(Have fun mergining your stuff with this.)
2011-05-06rustc: Bump the number of native glues to 8Patrick Walton-1/+1
2011-05-06rustllvm: Add a binding to the LLVM standard module passesPatrick Walton-0/+10
2011-05-06rustc: For stack local derived tydescs, allocate the root tydesc separately ↵Patrick Walton-24/+36
from the parameter tydescs. This allows SROA, and consequently inlining, to work.
2011-05-06rustc: Factor derived tydesc construction out of get_tydesc()Patrick Walton-43/+44
2011-05-06rustc: Include a representation of the type in question in the symbols ↵Patrick Walton-1/+1
generated for tydescs
2011-05-06Ge the host triple using LLVM. Fix a few 'mutable' warnings also.Kelly Wilson-8/+29
2011-05-06Use #env to bake a git revision string into rustc's --version output.Graydon Hoare-4/+5
2011-05-05rustc: Remove some debugging code from decl_native_fn_and_pair()Patrick Walton-6/+0