mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
constify the TargetMachine being passed through the Mips subtarget
creation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,7 +35,7 @@ static cl::opt<bool> NoDPLoadStore("mno-ldc1-sdc1", cl::init(false),
|
||||
"stores to their single precision "
|
||||
"counterparts"));
|
||||
|
||||
MipsSETargetLowering::MipsSETargetLowering(MipsTargetMachine &TM,
|
||||
MipsSETargetLowering::MipsSETargetLowering(const MipsTargetMachine &TM,
|
||||
const MipsSubtarget &STI)
|
||||
: MipsTargetLowering(TM, STI) {
|
||||
// Set up the register classes
|
||||
@@ -228,7 +228,7 @@ MipsSETargetLowering::MipsSETargetLowering(MipsTargetMachine &TM,
|
||||
}
|
||||
|
||||
const MipsTargetLowering *
|
||||
llvm::createMipsSETargetLowering(MipsTargetMachine &TM,
|
||||
llvm::createMipsSETargetLowering(const MipsTargetMachine &TM,
|
||||
const MipsSubtarget &STI) {
|
||||
return new MipsSETargetLowering(TM, STI);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user