llvm/lib/Linker
Reid Kleckner c130a20cf3 De-virtualize GlobalValue
The erase/remove from parent methods now use a switch table to remove
themselves from their appropriate parent ilist.

The copyAttributesFrom method is now completely non-virtual, since we
only ever copy attributes from a global of the appropriate type.

Pre-requisite to de-virtualizing Value to save a vptr
(https://reviews.llvm.org/D31261).

NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302823 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-11 21:14:29 +00:00
..
CMakeLists.txt
IRMover.cpp De-virtualize GlobalValue 2017-05-11 21:14:29 +00:00
LinkDiagnosticInfo.h
LinkModules.cpp [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
LLVMBuild.txt