summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/meth.rs
AgeCommit message (Collapse)AuthorLines
2021-10-13Turn tcx.vtable_allocation() into a query.Michael Woerister-1/+1
(cherry picked from commit b7cc99142ad0cfe47e2fe9f7a82eaf5b672c0573)
2021-08-04Prepare inbounds_gep for opaque pointersTomasz Miąsko-2/+2
Implement inbounds_gep using LLVMBuildInBoundsGEP2 which takes an explicit type argument instead of deriving it from a pointer type.
2021-07-09Pass type when creating loadNikita Popov-4/+6
This makes load generation compatible with opaque pointers. The generation of nontemporal copies still accesses the pointer element type, as fixing this requires more movement.
2021-06-28Update other codegens to use tcx managed vtable allocations.Charles Lew-39/+4
2021-06-15Refactor to make interpreter and codegen backend neutral to vtable internal ↵Charles Lew-32/+23
representation.
2020-08-30mv compiler to compiler/mark-0/+126