[llvm] r208835 - Remove unused functions setting MCOptions from TargetMachine.

Eric Christopher echristo at gmail.com
Wed May 14 18:25:04 PDT 2014


Author: echristo
Date: Wed May 14 20:25:04 2014
New Revision: 208835

URL: http://llvm.org/viewvc/llvm-project?rev=208835&view=rev
Log:
Remove unused functions setting MCOptions from TargetMachine.

Modified:
    llvm/trunk/include/llvm/Target/TargetMachine.h

Modified: llvm/trunk/include/llvm/Target/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachine.h?rev=208835&r1=208834&r2=208835&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetMachine.h (original)
+++ llvm/trunk/include/llvm/Target/TargetMachine.h Wed May 14 20:25:04 2014
@@ -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;





More information about the llvm-commits mailing list