diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-30 18:25:11 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-30 18:25:11 +0000 |
| commit | d86e8bb0ed5aefa6b18ffab88b8d542c95f52052 (patch) | |
| tree | 94535e80931212ff5df25ef80ac53b8fb4bd6033 /llvm/lib/MC | |
| parent | 8b08d2c5c87bbb0cca4ee59987499f73e252068b (diff) | |
| download | bcm5719-llvm-d86e8bb0ed5aefa6b18ffab88b8d542c95f52052.tar.gz bcm5719-llvm-d86e8bb0ed5aefa6b18ffab88b8d542c95f52052.zip | |
Delete MCCodeGenInfo.
MC doesn't really care about CodeGen stuff, so this was just
complicating target initialization.
llvm-svn: 274258
Diffstat (limited to 'llvm/lib/MC')
| -rw-r--r-- | llvm/lib/MC/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/MC/MCCodeGenInfo.cpp | 23 |
2 files changed, 0 insertions, 24 deletions
diff --git a/llvm/lib/MC/CMakeLists.txt b/llvm/lib/MC/CMakeLists.txt index 698dc9fa0b2..2f1b39e58e3 100644 --- a/llvm/lib/MC/CMakeLists.txt +++ b/llvm/lib/MC/CMakeLists.txt @@ -9,7 +9,6 @@ add_llvm_library(LLVMMC MCAsmStreamer.cpp MCAssembler.cpp MCCodeEmitter.cpp - MCCodeGenInfo.cpp MCCodeView.cpp MCContext.cpp MCDwarf.cpp diff --git a/llvm/lib/MC/MCCodeGenInfo.cpp b/llvm/lib/MC/MCCodeGenInfo.cpp deleted file mode 100644 index 347ec2cd01e..00000000000 --- a/llvm/lib/MC/MCCodeGenInfo.cpp +++ /dev/null @@ -1,23 +0,0 @@ -//===-- MCCodeGenInfo.cpp - Target CodeGen Info -----------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file tracks information about the target which can affect codegen, -// asm parsing, and asm printing. For example, relocation model. -// -//===----------------------------------------------------------------------===// - -#include "llvm/MC/MCCodeGenInfo.h" -using namespace llvm; - -void MCCodeGenInfo::initMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM, - CodeGenOpt::Level OL) { - RelocationModel = RM; - CMModel = CM; - OptLevel = OL; -} |

