mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-17 03:24:34 +00:00
Clean up redundant copies of Triple objects. NFC
Summary: Reviewers: rengolin Reviewed By: rengolin Subscribers: llvm-commits, rengolin, jholewinski Differential Revision: http://reviews.llvm.org/D10382 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -156,8 +156,8 @@ MipsTargetMachine::getSubtargetImpl(const Function &F) const {
|
||||
// creation will depend on the TM and the code generation flags on the
|
||||
// function that reside in TargetOptions.
|
||||
resetTargetOptions(F);
|
||||
I = llvm::make_unique<MipsSubtarget>(Triple(TargetTriple), CPU, FS,
|
||||
isLittle, *this);
|
||||
I = llvm::make_unique<MipsSubtarget>(TargetTriple, CPU, FS, isLittle,
|
||||
*this);
|
||||
}
|
||||
return I.get();
|
||||
}
|
||||
|
Reference in New Issue
Block a user