move an enum from TM -> TargetOptions. This makes TargetOptions.h
authorChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:08:52 +0000 (04:08 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 04:08:52 +0000 (04:08 +0000)
be self contained, and it isn't used from TM.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77857 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachine.h
include/llvm/Target/TargetOptions.h

index ebe6bea7021822f93e41ca9766eef12d9d7eac40..1dd8f20b70065ae4ce004a45b5e94bdc33a5c6f8 100644 (file)
@@ -80,15 +80,6 @@ namespace CodeGenOpt {
 }
 
 
-// Possible float ABI settings. Used with FloatABIType in TargetOptions.h.
-namespace FloatABI {
-  enum ABIType {
-    Default, // Target-specific (either soft of hard depending on triple, etc).
-    Soft, // Soft float.
-    Hard  // Hard float.
-  };
-}
-
 //===----------------------------------------------------------------------===//
 ///
 /// TargetMachine - Primary interface to the complete machine description for
index 377e03f95c4728a23cb78220bc595bcbf62d60a8..ccce2f0de857b9056e54ae821e6441596968d226 100644 (file)
 #define LLVM_TARGET_TARGETOPTIONS_H
 
 namespace llvm {
+  // Possible float ABI settings. Used with FloatABIType in TargetOptions.h.
+  namespace FloatABI {
+    enum ABIType {
+      Default, // Target-specific (either soft of hard depending on triple, etc).
+      Soft, // Soft float.
+      Hard  // Hard float.
+    };
+  }
+  
   /// PrintMachineCode - This flag is enabled when the -print-machineinstrs
   /// option is specified on the command line, and should enable debugging
   /// output from the code generator.