summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/interpret/allocation.rs
AgeCommit message (Expand)AuthorLines
2022-05-02fix most compiler/ doctestsElliot Roberts-5/+5
2022-04-21deduplicate a lot of codeb-naber-4/+0
2022-04-21implement valtree -> constvalue conversionb-naber-0/+5
2022-04-20Rollup merge of #96160 - RalfJung:interpret-debug, r=oli-obkDylan DPC-0/+8
2022-04-17explain why prepare_relocation_copy works the way it doesRalf Jung-4/+11
2022-04-17add caution to some commentsRalf Jung-1/+7
2022-04-17when writing uninit to an allocation, also clear relocations like other write...Ralf Jung-3/+9
2022-04-17add log warnings for when we overwrite parts of a pointer, and de-init the restRalf Jung-0/+8
2022-04-09Rollup merge of #95785 - RalfJung:interpret-size-mismatch, r=oli-obkDylan DPC-3/+14
2022-04-07interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internalRalf Jung-3/+14
2022-04-05trivial cfg(bootstrap) changesPietro Albini-1/+1
2022-03-30Rollup merge of #95461 - nyurik:spelling, r=lcnrDylan DPC-1/+1
2022-03-30Spellchecking compiler codeYuri Astrakhan-1/+1
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-07Introduce `ConstAllocation`.Nicholas Nethercote-0/+30
2022-02-19switch to limiting the number of init/uninit chunksErik Desjardins-0/+1
2021-10-16clippy::complexity changesMatthias Krüger-3/+3
2021-08-25use a peekable iterator to check the first chunkErik Desjardins-3/+14
2021-08-25yet more comment improvementsErik Desjardins-2/+7
2021-08-25improve commentsErik Desjardins-9/+14
2021-08-25put code in a more logical orderErik Desjardins-345/+350
2021-08-25add commentsErik Desjardins-19/+119
2021-08-25implement InitMaskCompressed using InitChunkIter, cleanupErik Desjardins-23/+33
2021-08-25optimize initialization checksErik Desjardins-9/+102
2021-08-25use undef for uninitialized bytes in constantsErik Desjardins-5/+52
2021-08-05replace Vec<u8> with Box<[u8]>The8472-5/+4
2021-08-05use box->vec conversion API that doesn't reallocateThe8472-1/+1
2021-08-05use zeroed allocation instead of eagerly initializing the memoryThe8472-3/+4
2021-07-31CTFE: throw unsupported error when partially overwriting a pointerRalf Jung-21/+43
2021-07-16add some comments regarding the two major quirks of our memory modelRalf Jung-1/+8
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-1/+3
2021-07-15enable Miri to fix the bytes in an allocation (since ptr offsets have differe...Ralf Jung-16/+24
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-2/+2
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-34/+25
2021-07-12remove remaining use of Pointer in Allocation APIRalf Jung-10/+9
2021-07-06Rollup merge of #86685 - RalfJung:alloc-mut, r=oli-obkYuki Okushi-0/+3
2021-07-02Allocation failure in constprop panics right awaySmitty-1/+4
2021-06-30Delay ICE on evaluation failSmitty-0/+5
2021-06-30Note that even ConstProp follows the rulesSmittyvb-2/+2
2021-06-30simplify explanation commentSmittyvb-9/+2
2021-06-29Properly handle const prop failuresSmitty-5/+8
2021-06-29Add comment with reasoning for non-determinismSmitty-0/+9
2021-06-29Simplify allocation creationSmitty-2/+1
2021-06-29Support allocation failures when interperting MIRSmitty-6/+15
2021-06-28double-check mutability inside AllocationRalf Jung-0/+3
2021-05-23fix commentRalf Jung-1/+1
2021-05-23support creating mutable allocations from byte slicesRalf Jung-4/+8
2021-05-18add Align::ONE; add methods to access alloc.extraRalf Jung-1/+1
2021-05-18CTFE core engine allocation & memory API improvemenetsRalf Jung-209/+136
2021-05-17Rollup merge of #85412 - RalfJung:c_str, r=oli-obkRalf Jung-23/+0