mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
prune #includes, MMI can never be null
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74e41f9821
commit
6d7337896f
@ -13,6 +13,7 @@
|
||||
|
||||
#include "DwarfException.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/CodeGen/MachineModuleInfo.h"
|
||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
@ -917,8 +918,6 @@ void DwarfException::EndModule() {
|
||||
/// BeginFunction - Gather pre-function exception information. Assumes it's
|
||||
/// being emitted immediately after the function entry point.
|
||||
void DwarfException::BeginFunction(const MachineFunction *MF) {
|
||||
if (!MMI || !Asm->MAI->doesSupportExceptionHandling()) return;
|
||||
|
||||
TimeRegion Timer(ExceptionTimer);
|
||||
shouldEmitTable = shouldEmitMoves = false;
|
||||
|
||||
|
@ -14,18 +14,23 @@
|
||||
#ifndef LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
|
||||
#define LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
|
||||
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
template <typename T> class SmallVectorImpl;
|
||||
struct LandingPadInfo;
|
||||
class MachineModuleInfo;
|
||||
class MachineMove;
|
||||
class MachineInstr;
|
||||
class MachineFunction;
|
||||
class MCAsmInfo;
|
||||
class MCExpr;
|
||||
class MCSymbol;
|
||||
class Timer;
|
||||
class raw_ostream;
|
||||
class Function;
|
||||
class AsmPrinter;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// DwarfException - Emits Dwarf exception handling directives.
|
||||
|
Loading…
Reference in New Issue
Block a user