mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
constify the TargetMachine argument used in the subtarget and
lowering constructors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218832 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -74,7 +74,7 @@ PPCSubtarget &PPCSubtarget::initializeSubtargetDependencies(StringRef CPU,
|
||||
}
|
||||
|
||||
PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
|
||||
const std::string &FS, PPCTargetMachine &TM)
|
||||
const std::string &FS, const PPCTargetMachine &TM)
|
||||
: PPCGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT),
|
||||
DL(getDataLayoutString(TargetTriple)),
|
||||
IsPPC64(TargetTriple.getArch() == Triple::ppc64 ||
|
||||
|
Reference in New Issue
Block a user