summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2018-09-15keep around some information for dead allocations so that we can use it to ma...Ralf Jung-5/+46
2018-09-08Auto merge of #53903 - GabrielMajeri:opt-miri-array-slice, r=oli-obkbors-14/+8
2018-09-08Optimize miri checking of integer array/slicesGabriel Majeri-14/+8
2018-09-03Impl Eq and PartialEq for EvalSnapshot in terms of the Snapshot traitBruno Dutra-21/+0
2018-09-03Implement Hash in terms of HashStable for EvalSnapshotBruno Dutra-33/+1
2018-09-01bug! instead of panic!csmoe-1/+1
2018-09-01improve panic messagecsmoe-1/+1
2018-08-31extract allocation info from byrefcsmoe-4/+7
2018-08-30assert sanity in memoryRalf Jung-5/+4
2018-08-29audit the relocations code, and clean it up a littleRalf Jung-22/+42
2018-08-29refactor memory access methods a bitRalf Jung-40/+47
2018-08-29memory: make getting the alloc for a static an associate function for easier ...Ralf Jung-42/+42
2018-08-29move some Scalar helpers from miri here, and use them where appropriateRalf Jung-19/+15
2018-08-27use associated const for machine controlling mutable staticsRalf Jung-29/+24
2018-08-27get rid of FinishStatic hack from stack clenaup; const_eval can do that itselfRalf Jung-16/+5
2018-08-27allow Machine to hook into foreign statics; remove unused HasMemory traitRalf Jung-61/+52
2018-08-27Miri Memory WorkRalf Jung-154/+114
2018-08-23Fixed multi-line function signaturesBernardo Meurer-2/+6
2018-08-23Small style fixesBernardo Meurer-3/+3
2018-08-23Fixup long code linesBernardo Meurer-12/+35
2018-08-23Reflow and fixup commentsBernardo Meurer-11/+18
2018-08-23Add license header to CTFE/MIRIBernardo Meurer-0/+10
2018-08-22avoid some redundant alignment checksRalf Jung-7/+18
2018-08-22optimize validation iterating over the elements of an arrayRalf Jung-16/+11
2018-08-22finally remove all traces of signs from memoryRalf Jung-11/+7
2018-08-22remove cur_frame from memory (validation is gone, new validation will not nee...Ralf Jung-8/+0
2018-08-22miri/CTFE refactorRalf Jung-59/+6
2018-08-19Fix typos found by codespell.Matthias Krüger-1/+1
2018-08-03Reintroduce alignment checkOliver Schneider-0/+1
2018-08-01Address behaviour changing review commentsOliver Schneider-4/+11
2018-08-01Address stylistic review comments and rebase falloutOliver Schneider-4/+4
2018-08-01Reintroduce `Undef` and properly check constant value sizesOliver Schneider-30/+36
2018-07-30Auto merge of #52805 - ljedrz:format_str_literal, r=petrochenkovbors-1/+1
2018-07-29Sanity-check all constantsOliver Schneider-0/+1
2018-07-28Don't format!() string literalsljedrz-1/+1
2018-07-04Improve correctness of `Frame` and `Memory` equalityDylan MacKenzie-4/+2
2018-07-04Revert "Refactor EvalContext stack and heap into inner struct"Dylan MacKenzie-17/+3
2018-07-04Implement Clone, Eq and Hash for the heap and stackDylan MacKenzie-3/+79
2018-07-04Refactor EvalContext stack and heap into inner structDylan MacKenzie-2/+2
2018-07-02Removed `uninitialized_statics` field from `Memory` struct in miri.Alexander Regueiro-77/+47
2018-07-01Auto merge of #51110 - alexreg:new-static-eval-rules, r=eddybbors-1/+5
2018-07-01Auto merge of #51833 - wesleywiser:faster_large_constant_arrays, r=oli-obkbors-21/+51
2018-06-30Fixed bug with miri const evaluation where allocation is recursively borrowed.Alexander Regueiro-1/+2
2018-06-30Added miri error for evaluating foreign statics.Alexander Regueiro-0/+3
2018-06-30Copy undef_masks correctly for repeated bytesWesley Wiser-5/+9
2018-06-30Fix relocations to include repeated valuesWesley Wiser-7/+15
2018-06-29Optimize `copy_undef_mask()` to use one passWesley Wiser-17/+8
2018-06-29Optimize `copy_undef_mask()` by lifting some loop invariant operationsWesley Wiser-9/+18
2018-06-28Merge `ConstVal` and `ConstValue`Oliver Schneider-6/+1
2018-06-28Move everything over from `middle::const_val` to `mir::interpret`Oliver Schneider-1/+1