remove a dead bool.
[llvm/avr.git] / lib / Target / TargetELFWriterInfo.cpp
blob3631b3501341858ac7112f932a254a22a94f6312
1 //===-- lib/Target/TargetELFWriterInfo.cpp - ELF Writer Info --0-*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the TargetELFWriterInfo class.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Function.h"
15 #include "llvm/Target/TargetELFWriterInfo.h"
16 #include "llvm/Target/TargetData.h"
17 #include "llvm/Target/TargetMachine.h"
18 using namespace llvm;
20 TargetELFWriterInfo::TargetELFWriterInfo(TargetMachine &tm) : TM(tm) {
21 is64Bit = TM.getTargetData()->getPointerSizeInBits() == 64;
22 isLittleEndian = TM.getTargetData()->isLittleEndian();
25 TargetELFWriterInfo::~TargetELFWriterInfo() {}