move an enum from TM -> TargetOptions. This makes TargetOptions.h

be self contained, and it isn't used from TM.h

llvm-svn: 77857
This commit is contained in:
Chris Lattner 2009-08-02 04:08:52 +00:00
parent d2477587b9
commit c897539adf
2 changed files with 9 additions and 9 deletions

View 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

View File

@ -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.