| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-04-23 | rustc: make the const-eval cache polymorphic. | Eduard-Mihai Burtescu | -10/+9 | |
| 2017-04-22 | cache attributes of items from foreign crates | Ariel Ben-Yehuda | -3/+18 | |
| this avoids parsing item attributes on each call to `item_attrs`, which takes off 33% (!) of translation time and 50% (!) of trans-item collection time. | ||||
| 2017-04-16 | rustc: use monomorphic const_eval for cross-crate enum discriminants. | Eduard-Mihai Burtescu | -19/+5 | |
| 2017-04-16 | rustc_const_eval: move ConstEvalErr to the rustc crate. | Eduard-Mihai Burtescu | -1/+2 | |
| 2017-04-12 | First attempt at global_asm! macro | A.J. Gardner | -0/+1 | |
| 2017-04-07 | ICH: Centrally compute and cache DefPath hashes as part of DefPathTable. | Michael Woerister | -5/+8 | |
| 2017-03-29 | Refactor how spans are combined in the parser. | Jeffrey Seyfried | -3/+3 | |
| 2017-03-23 | convert `custom_coerce_unsized_kind` into a `coerce_unsized_info` | Niko Matsakis | -4/+4 | |
| This "on-demand" task both checks for errors and computes the custom unsized kind, if any. This task is only defined on impls of `CoerceUnsized`; invoking it on any other kind of impl results in a bug. This is just to avoid having an `Option`, could easily be changed. | ||||
| 2017-03-22 | Rollup merge of #40696 - cramertj:remove-unused-adt-def-code, r=petrochenkov | Corey Farwell | -10/+2 | |
| Remove unused adt-def insertion by constructor DefIndex It looks to me like ADT definitions weren't being looked up by constructor id, and a test run supports my theory. In any case, I'm not sure it would have worked in its current configuration. If I understand correctly, the `adt_def` map entry from constructor id -> adt def would only be present after a successful call to `queries::adt_def::get` with the proper ADT `DefIndex`. Trying to look up an adt_def by the constructor index prior to a successful lookup by ADT index would fail since `item.kind` would be `EntryKind::Fn` (for the constructor function) and so would trigger the `bug!`. r? @nikomatsakis | ||||
| 2017-03-21 | Remove unused adt-def insertion by constructor DefIndex | Taylor Cramer | -10/+2 | |
| 2017-03-21 | Check for conflicts between macros 1.0 exports (`#[macro_export]`, ↵ | Jeffrey Seyfried | -13/+6 | |
| `#[macro_reexport]`) and macros 2.0 exports (`pub use` macro re-exports and `pub macro` (once implemented) at the crate root. | ||||
| 2017-02-25 | rustc_const_eval: demand that the MIR qualify_consts ran on each evaluated body. | Eduard-Mihai Burtescu | -3/+14 | |
| 2017-02-25 | rustc_typeck: rework coherence to be almost completely on-demand. | Eduard-Mihai Burtescu | -11/+10 | |
| 2017-02-25 | rustc_typeck: hook up collect and item/body check to on-demand. | Eduard-Mihai Burtescu | -6/+9 | |
| 2017-02-25 | rustc: combine BareFnTy and ClosureTy into FnSig. | Eduard-Mihai Burtescu | -7/+1 | |
| 2017-02-25 | rustc: introduce a query system for type information in ty::maps. | Eduard Burtescu | -40/+21 | |
| 2017-02-25 | rustc: consolidate dep-tracked hashmaps in tcx.maps. | Eduard-Mihai Burtescu | -3/+3 | |
| 2017-02-25 | rustc: move the actual values of enum discriminants into a map. | Eduard-Mihai Burtescu | -10/+17 | |
| 2017-02-25 | rustc: store type parameter defaults outside of ty::Generics. | Eduard-Mihai Burtescu | -24/+1 | |
| 2017-02-23 | Move MacroKind into Def::Macro | Josh Driver | -6/+15 | |
| 2017-02-11 | Rebase fallout | Simonas Kazlauskas | -3/+3 | |
| Because certain somebody sucks at resolving big conflicts | ||||
| 2017-02-10 | Move type of discriminant to AdtDef | Simonas Kazlauskas | -6/+10 | |
| Previously AdtDef variants contained ConstInt for each discriminant, which did not really reflect the actual type of the discriminants. Moving the type into AdtDef allows to easily put the type into metadata and also saves bytes from ConstVal overhead for each discriminant. Also arguably the code is cleaner now :) | ||||
| 2017-02-06 | Introduce ReprOptions, a struct for holding info from the repr attributes. ↵ | Austin Hicks | -14/+14 | |
| This effectively deprecates lookup_repr_hints. | ||||
| 2017-02-03 | Bump version, upgrade bootstrap | Alex Crichton | -1/+0 | |
| This commit updates the version number to 1.17.0 as we're not on that version of the nightly compiler, and at the same time this updates src/stage0.txt to bootstrap from freshly minted beta compiler and beta Cargo. | ||||
| 2017-01-28 | rustc: move object default lifetimes to resolve_lifetimes. | Eduard-Mihai Burtescu | -0/+7 | |
| 2017-01-28 | rustc: always include elidable lifetimes in HIR types. | Eduard-Mihai Burtescu | -1/+14 | |
| 2017-01-26 | rustc: rename TyCtxt's `map` field to `hir`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-01-09 | trans/metadata: Remove obsolete CrateStore::can_have_local_instance() | Michael Woerister | -32/+6 | |
| 2017-01-09 | metadata: Add is_exported_symbol() method to CrateStore. | Michael Woerister | -1/+1 | |
| 2017-01-06 | rustc: store ty::Tables separately for each body (except closures'). | Eduard-Mihai Burtescu | -54/+9 | |
| 2016-12-30 | Fix rebase fallout | est31 | -1/+0 | |
| 2016-12-30 | Fix rebase fallout | Simonas Kazlauskas | -1/+1 | |
| This commit includes manual merge conflict resolution changes from a rebase by @est31. | ||||
| 2016-12-30 | Such large. Very 128. Much bits. | Simonas Kazlauskas | -0/+4 | |
| This commit introduces 128-bit integers. Stage 2 builds and produces a working compiler which understands and supports 128-bit integers throughout. The general strategy used is to have rustc_i128 module which provides aliases for iu128, equal to iu64 in stage9 and iu128 later. Since nowhere in rustc we rely on large numbers being supported, this strategy is good enough to get past the first bootstrap stages to end up with a fully working 128-bit capable compiler. In order for this strategy to work, number of locations had to be changed to use associated max_value/min_value instead of MAX/MIN constants as well as the min_value (or was it max_value?) had to be changed to use xor instead of shift so both 64-bit and 128-bit based consteval works (former not necessarily producing the right results in stage1). This commit includes manual merge conflict resolution changes from a rebase by @est31. | ||||
| 2016-12-28 | rustdoc: pretty-print nested bodies in inlined constants. | Eduard-Mihai Burtescu | -0/+7 | |
| 2016-12-28 | rustc: simplify constant cross-crate loading and rustc_passes::consts. | Eduard-Mihai Burtescu | -12/+13 | |
| 2016-12-27 | Auto merge of #38537 - jseyfried:fix_rustdoc_ice, r=nrc | bors | -0/+1 | |
| Fix ICE in rustdoc Fixes #38237. r? @nrc | ||||
| 2016-12-24 | Use `DefId`s instead of `NodeId`s for `pub(restricted)` visibilities. | Jeffrey Seyfried | -5/+5 | |
| 2016-12-23 | Fix rustdoc ICE. | Jeffrey Seyfried | -0/+1 | |
| 2016-12-16 | No need to have tcx::opt_def_path() now that we store all DefPaths | Michael Woerister | -12/+5 | |
| 2016-12-16 | definitions: Store DefPath data in separate table in metadata | Michael Woerister | -36/+13 | |
| 2016-12-16 | definitions: Don't allocate DefIds for inlined HIR | Michael Woerister | -4/+1 | |
| 2016-12-13 | Auto merge of #38278 - jseyfried:improve_proc_macro_def_ids, r=michaelwoerister | bors | -22/+42 | |
| Improve proc-macro def ids Support `cstore.relative_def_path(id)` and `cstore.def_key(id)` with proc-macro def ids. Fixes #38207. r? @nikomatsakis | ||||
| 2016-12-10 | Improve proc-macro def ids. | Jeffrey Seyfried | -22/+42 | |
| 2016-12-09 | move the check for instantiation from metadata encoding to the actual ↵ | Oliver Schneider | -0/+23 | |
| decision site before it was assumed that anything that had a MIR was fair game for local instatiation | ||||
| 2016-12-09 | enable checking for const fn without needing to go through `entry` | Oliver Schneider | -6/+9 | |
| 2016-12-06 | Auto merge of #37973 - vadimcn:dllimport, r=alexcrichton | bors | -0/+4 | |
| Implement RFC 1717 Implement the first two points from #37403. r? @alexcrichton | ||||
| 2016-12-05 | Consider only libs that aren't excluded by #[link(cfg=...)] | Vadim Chugunov | -12/+3 | |
| 2016-12-05 | trans: Rename `reachable` to `exported_symbols` where appropriate. | Michael Woerister | -2/+2 | |
| 2016-12-02 | Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis | bors | -41/+22 | |
| [9/n] rustc: move type information out of AdtDef and TraitDef. _This is part of a series ([prev](https://github.com/rust-lang/rust/pull/37688) | [next]()) of patches designed to rework rustc into an out-of-order on-demand pipeline model for both better feature support (e.g. [MIR-based](https://github.com/solson/miri) early constant evaluation) and incremental execution of compiler passes (e.g. type-checking), with beneficial consequences to IDE support as well. If any motivation is unclear, please ask for additional PR description clarifications or code comments._ <hr> Both `AdtDef` and `TraitDef` contained type information (field types, generics and predicates) which was required to create them, preventing their use before that type information exists, or in the case of field types, *mutation* was required, leading to a variance-magicking implementation of `ivar`s. This PR takes that information out and the resulting cleaner setup could even eventually end up merged with HIR, because, just like `AssociatedItem` before it, there's no dependency on types anymore. (With one exception, variant discriminants should probably be moved into their own map later.) | ||||
| 2016-12-01 | Emit 'dllimport' attribute for dylib foreign items on Windows. | Vadim Chugunov | -2/+15 | |
