summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-15 01:25:04 +0000
committerEric Christopher <echristo@gmail.com>2014-05-15 01:25:04 +0000
commite8c785439dc8effe976b2a3207cb7dd67f6734cc (patch)
treeab31b19be72dfbb5fecbb387a8efd4aa6d1cd414
parent7e72a0932b1d5bad7677cb575a5be4cef86ebc62 (diff)
downloadbcm5719-llvm-e8c785439dc8effe976b2a3207cb7dd67f6734cc.tar.gz
bcm5719-llvm-e8c785439dc8effe976b2a3207cb7dd67f6734cc.zip
Remove unused functions setting MCOptions from TargetMachine.
llvm-svn: 208835
-rw-r--r--llvm/include/llvm/Target/TargetMachine.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/include/llvm/Target/TargetMachine.h b/llvm/include/llvm/Target/TargetMachine.h
index 905cbc66319..d154a9040b6 100644
--- a/llvm/include/llvm/Target/TargetMachine.h
+++ b/llvm/include/llvm/Target/TargetMachine.h
@@ -166,32 +166,17 @@ public:
/// relaxed.
bool hasMCRelaxAll() const { return Options.MCOptions.MCRelaxAll; }
- /// setMCRelaxAll - Set whether all machine code instructions should be
- /// relaxed.
- void setMCRelaxAll(bool Value) { Options.MCOptions.MCRelaxAll = Value; }
-
/// hasMCSaveTempLabels - Check whether temporary labels will be preserved
/// (i.e., not treated as temporary).
bool hasMCSaveTempLabels() const { return Options.MCOptions.MCSaveTempLabels; }
- /// setMCSaveTempLabels - Set whether temporary labels will be preserved
- /// (i.e., not treated as temporary).
- void setMCSaveTempLabels(bool Value) { Options.MCOptions.MCSaveTempLabels = Value; }
-
/// hasMCNoExecStack - Check whether an executable stack is not needed.
bool hasMCNoExecStack() const { return Options.MCOptions.MCNoExecStack; }
- /// setMCNoExecStack - Set whether an executabel stack is not needed.
- void setMCNoExecStack(bool Value) { Options.MCOptions.MCNoExecStack = Value; }
-
/// hasMCUseDwarfDirectory - Check whether we should use .file directives with
/// explicit directories.
bool hasMCUseDwarfDirectory() const { return Options.MCOptions.MCUseDwarfDirectory; }
- /// setMCUseDwarfDirectory - Set whether all we should use .file directives
- /// with explicit directories.
- void setMCUseDwarfDirectory(bool Value) { Options.MCOptions.MCUseDwarfDirectory = Value; }
-
/// getRelocationModel - Returns the code generation relocation model. The
/// choices are static, PIC, and dynamic-no-pic, and target default.
Reloc::Model getRelocationModel() const;
OpenPOWER on IntegriCloud