mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Remove mostly unused setters.
Most of the code was setting the TargetOptions directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -148,30 +148,6 @@ void TargetMachine::setOptLevel(CodeGenOpt::Level Level) const {
|
||||
CodeGenInfo->setOptLevel(Level);
|
||||
}
|
||||
|
||||
bool TargetMachine::getAsmVerbosityDefault() const {
|
||||
return Options.MCOptions.AsmVerbose;
|
||||
}
|
||||
|
||||
void TargetMachine::setAsmVerbosityDefault(bool V) {
|
||||
Options.MCOptions.AsmVerbose = V;
|
||||
}
|
||||
|
||||
bool TargetMachine::getFunctionSections() const {
|
||||
return Options.FunctionSections;
|
||||
}
|
||||
|
||||
bool TargetMachine::getDataSections() const {
|
||||
return Options.DataSections;
|
||||
}
|
||||
|
||||
void TargetMachine::setFunctionSections(bool V) {
|
||||
Options.FunctionSections = V;
|
||||
}
|
||||
|
||||
void TargetMachine::setDataSections(bool V) {
|
||||
Options.DataSections = V;
|
||||
}
|
||||
|
||||
TargetIRAnalysis TargetMachine::getTargetIRAnalysis() {
|
||||
return TargetIRAnalysis(
|
||||
[this](Function &) { return TargetTransformInfo(getDataLayout()); });
|
||||
|
||||
Reference in New Issue
Block a user