mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
16859aa242
Force all creators of `MCSubtargetInfo` to immediately initialize it, merging the default constructor and the initializer into an initializing constructor. Besides cleaning up the code a little, this makes it clear that the initializer is never called again later. Out-of-tree backends need a trivial change: instead of calling: auto *X = new MCSubtargetInfo(); InitXYZMCSubtargetInfo(X, ...); return X; they should call: return createXYZMCSubtargetInfoImpl(...); There's no real functionality change here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241957 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
Makefile | ||
MipsABIFlagsSection.cpp | ||
MipsABIFlagsSection.h | ||
MipsABIInfo.cpp | ||
MipsABIInfo.h | ||
MipsAsmBackend.cpp | ||
MipsAsmBackend.h | ||
MipsBaseInfo.h | ||
MipsELFObjectWriter.cpp | ||
MipsELFStreamer.cpp | ||
MipsELFStreamer.h | ||
MipsFixupKinds.h | ||
MipsMCAsmInfo.cpp | ||
MipsMCAsmInfo.h | ||
MipsMCCodeEmitter.cpp | ||
MipsMCCodeEmitter.h | ||
MipsMCExpr.cpp | ||
MipsMCExpr.h | ||
MipsMCNaCl.h | ||
MipsMCTargetDesc.cpp | ||
MipsMCTargetDesc.h | ||
MipsNaClELFStreamer.cpp | ||
MipsOptionRecord.cpp | ||
MipsTargetStreamer.cpp |