about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-03-31rustc: Write out an index of definition info in crate metadataPatrick Walton-40/+111
2011-03-31rustc: Mix the bits more when hashing def idsPatrick Walton-9/+8
2011-03-31rustc: Use the scaled index, not the raw index, if a vector has generic ↵Patrick Walton-2/+12
size. lib-vec.rs works now.
2011-03-31Rename incr_all_refcnts to take_ty, to match drop_tyBrian Anderson-4/+4
2011-03-31Restore scope block contexts to the translation of expr_block.Brian Anderson-2/+20
I removed this previously but that was wrong because it caused block expressions to not create a new scope.
2011-03-31Remove redundant parser logic.Brian Anderson-33/+0
These cases are all dealt with in parse_expr_inner.
2011-03-31handle unterminated block comments and line comment at eofMarijn Haverbeke-4/+9
2011-03-31Improve line comment positioningMarijn Haverbeke-73/+117
This involved making ast.variant spanned.
2011-03-31Support break and cont in pretty-printerMarijn Haverbeke-0/+8
2011-03-31Add effect field to ast.ty_fn.Marijn Haverbeke-31/+35
Still not used, except by the pretty-printer.
2011-03-31Preserve comments when pretty-printing.Marijn Haverbeke-788/+1060
The patch also includes a number of smaller fixes to the pretty-printer that were encountered on the way.
2011-03-31Tweak build command on rustc.Graydon Hoare-1/+1
2011-03-30rustc: Read 'y' tags from external cratesPatrick Walton-6/+10
2011-03-30rustc: Use the type cache to construct external item referencesPatrick Walton-19/+38
2011-03-30rustc: Thread an item-to-type mapping throughout the typechecking and ↵Patrick Walton-353/+395
translation phases
2011-03-30Ensure task stacks start out with a 16-byte aligned entry frame. Should make ↵Graydon Hoare-1/+2
OSX behave a bit better.
2011-03-29rustc: Add all items to the item table during translation. lib-vec now ↵Patrick Walton-1/+16
compiles, but asserts and then segfaults.
2011-03-29rustc: Parse parameter IDs in external crate metadata. Un-XFAIL lib-bitv.rs.Patrick Walton-7/+13
2011-03-29rustc: Partially resolve external module importsPatrick Walton-20/+104
2011-03-29rustc: Tolerate def id tags inside module tags. Fixes metadata reading.Patrick Walton-32/+33
2011-03-29Beginnings of support for magical self prefix; nothing profound happening yet.Lindsey Kuper-1/+27
2011-03-29Ignore 'mutable foo' in plain field contexts.Graydon Hoare-0/+6
2011-03-29rustc: Resolve external modules and native modules to definition IDs as wellPatrick Walton-11/+22
2011-03-29Rename trans_native to trans_native_call, for clarity.Graydon Hoare-10/+10
2011-03-29Teach trans to emit undefined references to 'use'd symbols. Can compile and ↵Graydon Hoare-0/+61
run a simple 'use std;' example now.
2011-03-28Add partial support for if expressions resulting in generic typesBrian Anderson-4/+7
2011-03-28Handle structural types as the result of if expressionsBrian Anderson-0/+3
2011-03-28Teach rustc to use the result of if expressionsBrian Anderson-4/+13
2011-03-28Add expr_spawn, spawn parsing, folding, typechecking, ty_taskBrian Anderson-16/+107
2011-03-28Move all allocas to dedicated basic block at top of function, to keep frames ↵Graydon Hoare-56/+143
finite. Un-comment next size in nbody.rs.
2011-03-28rustc: Parse types in external metadataPatrick Walton-25/+74
2011-03-28rustc: Populate the item types table with types of items from external ↵Patrick Walton-12/+43
crates; remove the redundant typeck.ty_and_params type on the way
2011-03-28rustc: Remove commented out "encode_tag_variant_info" call that sneaked inPatrick Walton-1/+1
2011-03-28rustc: Resolve def ids in external cratesPatrick Walton-4/+61
2011-03-28rustc: Don't include a trailing null when writing out metadata; it corrupts ↵Patrick Walton-4/+5
the EBML
2011-03-28Fix get_tydesc to alloca enough room for root; remove hack that was ↵Graydon Hoare-8/+3
attempting to paper over it. Fix from espindola.
2011-03-28rustc: Add support for calling LLVM intrinsics as native functionsPatrick Walton-8/+39
2011-03-27Add support for break and cont to rustcMarijn Haverbeke-9/+124
Testing proper cleanup is hampered by https://github.com/graydon/rust/issues/293
2011-03-26Twiddle visibility, start exposing only type-mangled names (64 bit truncated ↵Graydon Hoare-17/+21
sha1 prefixes).
2011-03-26Start refactoring name-mangling in trans.Graydon Hoare-43/+90
2011-03-26Add visibility enum values to lib.llvm.Graydon Hoare-0/+3
2011-03-26Teach creader and metadata writer how to do ty.ty_type.Graydon Hoare-1/+12
2011-03-25rustc: Add a function to look up external item info in the item info tablePatrick Walton-4/+52
2011-03-25Janitorial: move llvmext back to llvm module, as they're the same thing now.Graydon Hoare-15/+20
2011-03-25rustc: Parse definition IDs from crates; add a function to parse unsigned ↵Patrick Walton-5/+21
ints to the standard library
2011-03-25Add get_extern_const, factor get_extern into get_extern_fn and ↵Graydon Hoare-6/+23
get_simple_extern_fn.
2011-03-25rustc: Look up names in "use"d cratesPatrick Walton-5/+120
2011-03-25Trans nomenclature tidy-up: upcall vs. native vs. extern.Graydon Hoare-56/+76
2011-03-25Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare-18/+18
2011-03-25Sketch of wiring typeck up to creader.Graydon Hoare-32/+70