aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 04:08:52 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 04:08:52 +0000
commit05e5fcab0910b7e0ebdd03cb4c1960ae8ba219fd (patch)
treed7d264d3273065e0a3a3c4cda27fcf3792075ec7
parentb6d667403fed489ef92174b3f19d4b87db5c39f7 (diff)
move an enum from TM -> TargetOptions. This makes TargetOptions.h
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
-rw-r--r--include/llvm/Target/TargetMachine.h9
-rw-r--r--include/llvm/Target/TargetOptions.h9
2 files changed, 9 insertions, 9 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index ebe6bea702..1dd8f20b70 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -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
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 377e03f95c..ccce2f0de8 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -16,6 +16,15 @@
#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.