summary refs log tree commit diff
path: root/src/librustc/mir/interpret
AgeCommit message (Expand)AuthorLines
2018-11-27Auto merge of #56094 - RalfJung:memory-data-revived, r=oli-obkbors-99/+151
2018-11-26Auto merge of #56070 - oli-obk:const_let, r=eddybbors-0/+3
2018-11-25TypoOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer-1/+1
2018-11-25fix length of slice returned from read_c_strRalf Jung-3/+5
2018-11-25yay for NLLRalf Jung-5/+3
2018-11-25read_c_str should call the AllocationExtra hooksRalf Jung-4/+3
2018-11-25TypoOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer-1/+1
2018-11-25make memory allocation hook infallibleRalf Jung-3/+3
2018-11-25bring back MemoryExtraRalf Jung-99/+151
2018-11-24Rebase falloutOliver Scherer-12/+20
2018-11-24Document `Allocation`Oliver Scherer-2/+17
2018-11-24Explain {read,write}_scalar failure to cope with zstsOliver Scherer-0/+10
2018-11-24Move alignment checks out of `Allocation`Oliver Scherer-57/+12
2018-11-24Reorder methods in `allocation.rs`Oliver Scherer-85/+85
2018-11-24Make a method that doesn't need `Self` a free function insteadOliver Scherer-18/+17
2018-11-24Make zst accesses in allocations take the regular path.Oliver Scherer-21/+0
2018-11-24Remove unnecessary `Result` (function always returned `Ok`)Oliver Scherer-6/+6
2018-11-24Adjust rustc_mir::interpret to changes in `Allocation`/`Memory` methodsOliver Scherer-43/+69
2018-11-24Move some byte and scalar accessors from `Memory` to `Allocation`Oliver Scherer-0/+200
2018-11-24Fiddle a `HasDataLayout` through the allocation methodsOliver Scherer-19/+41
2018-11-24Access `self` instead of `alloc`Oliver Scherer-30/+14
2018-11-24Adjust generics to `Allocation` parametersOliver Scherer-9/+9
2018-11-24Move alignment and bounds check from `Memory` to `Allocation`Oliver Scherer-0/+45
2018-11-24Move undef mask methods from `Memory` to `Allocation`Oliver Scherer-0/+33
2018-11-24Move relocation methods from `Memory` to `Allocation`Oliver Scherer-0/+73
2018-11-24Preliminary code adjustment to let the compiler complain about missing methodsOliver Scherer-4/+4
2018-11-24Move some methods from `Memory` to `Allocation`Oliver Scherer-0/+84
2018-11-22rustc_target: avoid using AbiAndPrefAlign where possible.Eduard-Mihai Burtescu-11/+11
2018-11-22rustc_target: separate out an individual Align from AbiAndPrefAlign.Eduard-Mihai Burtescu-5/+6
2018-11-22rustc_target: rename abi::Align to AbiAndPrefAlign.Eduard-Mihai Burtescu-9/+9
2018-11-19Make const_eval_raw query return just an AllocIdRalf Jung-6/+16
2018-11-19Also catch static mutation at evaluation timeOliver Scherer-0/+3
2018-11-19Rollup merge of #55970 - RalfJung:miri-backtrace, r=@oli-obkPietro Albini-12/+43
2018-11-15do not accept out-of-bounds pointers in enum discriminants, they might be NULLRalf Jung-6/+18
2018-11-15validation: better error when the enum discriminant is UndefRalf Jung-2/+2
2018-11-15rename FrameInfo span field to call_siteRalf Jung-4/+4
2018-11-14put file and line into miri backtraceRalf Jung-3/+8
2018-11-14prettier miri backtrace printingRalf Jung-3/+10
2018-11-14miri: backtraces with instancesRalf Jung-7/+26
2018-11-12for uniformity, also move memory_deallocated to AllocationExtraRalf Jung-0/+11
2018-11-08Rebase falloutOliver Scherer-2/+2
2018-11-08Give `AllocationExtra`s access to their entire `Allocation`Oliver Scherer-6/+2
2018-11-08FalloutOliver Scherer-4/+7
2018-11-08Move `Pointer` to its own moduleOliver Scherer-147/+155
2018-11-08Move ScalarMaybeUndef into `value.rs`Oliver Scherer-129/+129
2018-11-08Move UndefMask and Relocations into `allocation.rs`Oliver Scherer-138/+138
2018-11-08Move the `memory_accessed` hook onto the `Extra` valueOliver Scherer-1/+31
2018-11-08Move `ScalarMaybeUndef` back to rustcOliver Scherer-0/+128
2018-11-08Move `Allocation` into its own moduleOliver Scherer-740/+9
2018-11-08Duplicate mod.rs for better diff trackingOliver Scherer-0/+752