| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -886/+0 | |
| 2020-03-26 | avoid catching InterpError | Ralf Jung | -5/+11 | |
| 2020-03-25 | add usize methods for Size getters | Ralf Jung | -4/+4 | |
| 2020-03-25 | go back to infix ops for Size | Ralf Jung | -12/+12 | |
| 2020-03-25 | use Size addition instead of checked int addition | Ralf Jung | -1/+1 | |
| 2020-03-25 | make Size::from* methods generic in the integer type they accept | Ralf Jung | -9/+4 | |
| 2020-03-25 | use checked casts and arithmetic in Miri engine | Ralf Jung | -40/+38 | |
| 2020-03-23 | Split long derive lists into two derive attributes. | Ana-Maria Mihalache | -24/+4 | |
| 2020-03-22 | remove redundant closures (clippy::redundant_closure) | Matthias Krüger | -1/+1 | |
| 2020-03-11 | generalize InvalidNullPointerUsage to InvalidIntPointerUsage | Ralf Jung | -0/+1 | |
| 2020-03-11 | miri: categorize errors into "unsupported" and "UB" | Ralf Jung | -2/+2 | |
| Also slightly refactor pointer bounds checks to avoid creating unnecessary temporary Errors | ||||
| 2020-03-06 | fix various typos | Matthias Krüger | -1/+1 | |
| 2020-03-04 | use integer assoc consts instead of methods | Ralf Jung | -7/+7 | |
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -1/+1 | |
| 2020-02-27 | don't use .into() to convert types into identical types. | Matthias Krüger | -1/+1 | |
| example: let s: String = format!("hello").into(); | ||||
| 2020-02-24 | don't explicitly compare against true or false | Matthias Krüger | -1/+1 | |
| 2019-12-28 | Avoid copying some undef memory in MIR | Santiago Pastorino | -0/+8 | |
| During MIR interpretation it may happen that a place containing uninitialized bytes is copied. This would read the current representation of these bytes and write it to the destination even though they must, by definition, not matter to the execution. This elides that representation change when no bytes are defined in such a copy, saving some cpu cycles. In such a case, the memory of the target allocation is not touched at all which also means that sometimes no physical page backing the memory allocation of the representation needs to be provided by the OS at all, reducing memory pressure on the system. | ||||
| 2019-12-22 | Format the world | Mark Rousskov | -106/+75 | |
| 2019-12-20 | 1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}. | Mazdak Farrokhzad | -2/+2 | |
| 2. mir::Mutability -> ast::Mutability. | ||||
| 2019-11-19 | More HashStable. | Camille GILLOT | -4/+2 | |
| 2019-10-22 | relax ExactSizeIterator bound on write_bytes: too many iterators don't have ↵ | Ralf Jung | -2/+5 | |
| that bound | ||||
| 2019-10-21 | remove write_repeat; it is subsumed by the new write_bytes | Ralf Jung | -19/+0 | |
| 2019-10-21 | points the user away from the Allocation type and towards the Memory type | Ralf Jung | -0/+12 | |
| 2019-10-20 | also check the iterator is not too long | Ralf Jung | -0/+1 | |
| 2019-10-20 | miri add write_bytes method to Memory doing bounds-checks and supporting ↵ | Ralf Jung | -2/+7 | |
| iterators | ||||
| 2019-09-17 | rename Allocation::retag -> with_tags_and_extra | Ralf Jung | -2/+2 | |
| 2019-09-07 | Apply suggestions from code review | Alexander Regueiro | -4/+5 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: librustc | Alexander Regueiro | -55/+54 | |
| 2019-09-06 | Fix miri | Oliver Scherer | -0/+28 | |
| 2019-09-02 | Auto merge of #63561 - HeroicKatora:alloc-private-bytes, r=oli-obk | bors | -13/+196 | |
| Make Allocation::bytes private Fixes #62931. Direct immutable access to the bytes is still possible but redirected through the new method `raw_bytes_with_undef_and_ptr`, similar to `get_bytes_with_undef_and_ptr` but without requiring an interpretation context and not doing *any* relocation or bounds checks. The `size` of the allocation is stored separately which makes access as `Size` and `usize` more ergonomic. cc: @RalfJung | ||||
| 2019-08-31 | Reorder AllocationDefinedness members | Andreas Molzer | -2/+3 | |
| This improves the clarity of the documentation a bit since they can reference each other when reading the member docs in sequence. | ||||
| 2019-08-31 | Improve documentation around allocation accessors | Andreas Molzer | -8/+13 | |
| 2019-08-30 | Move relocation range copies into allocation | Andreas Molzer | -0/+50 | |
| 2019-08-29 | Make allocation relocation field private | Andreas Molzer | -4/+9 | |
| 2019-08-28 | Address naming and comments from reviews | Andreas Molzer | -4/+4 | |
| 2019-08-21 | Expose encapsulated undef mask as immutable | Andreas Molzer | -0/+5 | |
| 2019-08-21 | Replace usage of alloc.bytes in interpret | Andreas Molzer | -0/+2 | |
| There is now a dedicate `len` method which avoids the need to access the bytes. Access the length as `Size` can also be done by a direct member. The constructors guarantee that these representations are convertable. Access which relies on the bytes, such as snapshot, can use direct raw access by reference as it does not care about undef and relocations or properly checks them seperately. | ||||
| 2019-08-17 | fix typos | Dante-Broggi | -1/+1 | |
| 2019-08-17 | Move copy of undef_mask into allocation | Andreas Molzer | -0/+85 | |
| This also means that the compressed representation chosen may be optimized together with any changes to the undef_mask. | ||||
| 2019-08-17 | Derive HashStable for Allocation | Andreas Molzer | -1/+12 | |
| Requires a manual implementation for Relocations since dereferencing to SortedMap is not always implemented but that one is far more trivial. Added fields could otherwise be silently forgotten since private fields make destructing outside the module possible only with `..` pattern which would then also be applicable to newly added public fields. | ||||
| 2019-08-17 | Store allocation size, make bytes, undef_mask private | Andreas Molzer | -8/+27 | |
| Direct access to the bytes was previously a problem (#62931) where components would read their contents without properly checking relocations and/or definedness. Making bytes private instead of purely renaming them also helps in allowing amendments to their allocation scheme (such as eliding allocation for undef of constant regions). | ||||
| 2019-07-31 | code review fixes | Saleem Jaffer | -3/+3 | |
| 2019-07-30 | renaming throw_err_* to throw_* | Saleem Jaffer | -3/+3 | |
| 2019-07-30 | renaming err to err_unsup | Saleem Jaffer | -3/+3 | |
| 2019-07-30 | adding throw_ and err_ macros for InterpError | Saleem Jaffer | -3/+3 | |
| 2019-07-29 | adding a err macro for each of the InterpError variants | Saleem Jaffer | -4/+3 | |
| 2019-07-29 | fixing fallout due to InterpError refactor | Saleem Jaffer | -3/+4 | |
| 2019-07-23 | cleanup: Remove `extern crate serialize as rustc_serialize`s | Vadim Petrochenkov | -1/+1 | |
| 2019-06-24 | fix reoccurring typo | Ralf Jung | -10/+10 | |
| 2019-06-23 | clean up internals of pointer checks; make get_size_and_align also check for ↵ | Ralf Jung | -10/+1 | |
| fn allocations | ||||
