diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-19 22:27:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-19 22:27:46 +0000 |
commit | 70d3c20b0feeb5aefacb0f71c40d43db6648267d (patch) | |
tree | d02e240e8e3026be26c0521d64bfbf9cdf5ca928 /llvm/lib/LTO | |
parent | a0d30a9977ff53a91ac0096e75728805cccbbdef (diff) | |
download | bcm5719-llvm-70d3c20b0feeb5aefacb0f71c40d43db6648267d.tar.gz bcm5719-llvm-70d3c20b0feeb5aefacb0f71c40d43db6648267d.zip |
Use the assignment operator.
No functionality change.
llvm-svn: 211319
Diffstat (limited to 'llvm/lib/LTO')
-rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index 2772676c8e8..a1709f60fff 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/lib/LTO/LTOCodeGenerator.cpp @@ -124,28 +124,7 @@ bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) { } void LTOCodeGenerator::setTargetOptions(TargetOptions options) { - Options.LessPreciseFPMADOption = options.LessPreciseFPMADOption; - Options.NoFramePointerElim = options.NoFramePointerElim; - Options.AllowFPOpFusion = options.AllowFPOpFusion; - Options.UnsafeFPMath = options.UnsafeFPMath; - Options.NoInfsFPMath = options.NoInfsFPMath; - Options.NoNaNsFPMath = options.NoNaNsFPMath; - Options.HonorSignDependentRoundingFPMathOption = - options.HonorSignDependentRoundingFPMathOption; - Options.UseSoftFloat = options.UseSoftFloat; - Options.FloatABIType = options.FloatABIType; - Options.NoZerosInBSS = options.NoZerosInBSS; - Options.GuaranteedTailCallOpt = options.GuaranteedTailCallOpt; - Options.DisableTailCalls = options.DisableTailCalls; - Options.StackAlignmentOverride = options.StackAlignmentOverride; - Options.TrapFuncName = options.TrapFuncName; - Options.PositionIndependentExecutable = options.PositionIndependentExecutable; - Options.UseInitArray = options.UseInitArray; - Options.DataSections = options.DataSections; - Options.FunctionSections = options.FunctionSections; - - Options.MCOptions = options.MCOptions; - Options.JTType = options.JTType; + Options = options; } void LTOCodeGenerator::setDebugInfo(lto_debug_model debug) { |