summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCCodeGenInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCCodeGenInfo.h')
-rw-r--r--include/llvm/MC/MCCodeGenInfo.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/llvm/MC/MCCodeGenInfo.h b/include/llvm/MC/MCCodeGenInfo.h
index 9e72ece6e3..1c54c47e2d 100644
--- a/include/llvm/MC/MCCodeGenInfo.h
+++ b/include/llvm/MC/MCCodeGenInfo.h
@@ -15,17 +15,9 @@
#ifndef LLVM_MC_MCCODEGENINFO_H
#define LLVM_MC_MCCODEGENINFO_H
-namespace llvm {
-
- // Relocation model types.
- namespace Reloc {
- enum Model { Default, Static, PIC_, DynamicNoPIC };
- }
+#include "llvm/Support/CodeGen.h"
- // Code model types.
- namespace CodeModel {
- enum Model { Default, JITDefault, Small, Kernel, Medium, Large };
- }
+namespace llvm {
class MCCodeGenInfo {
/// RelocationModel - Relocation model: statcic, pic, etc.