mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +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:
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include "DwarfException.h"
|
#include "DwarfException.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
|
#include "llvm/CodeGen/AsmPrinter.h"
|
||||||
#include "llvm/CodeGen/MachineModuleInfo.h"
|
#include "llvm/CodeGen/MachineModuleInfo.h"
|
||||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||||
#include "llvm/CodeGen/MachineFunction.h"
|
#include "llvm/CodeGen/MachineFunction.h"
|
||||||
@@ -917,8 +918,6 @@ void DwarfException::EndModule() {
|
|||||||
/// BeginFunction - Gather pre-function exception information. Assumes it's
|
/// BeginFunction - Gather pre-function exception information. Assumes it's
|
||||||
/// being emitted immediately after the function entry point.
|
/// being emitted immediately after the function entry point.
|
||||||
void DwarfException::BeginFunction(const MachineFunction *MF) {
|
void DwarfException::BeginFunction(const MachineFunction *MF) {
|
||||||
if (!MMI || !Asm->MAI->doesSupportExceptionHandling()) return;
|
|
||||||
|
|
||||||
TimeRegion Timer(ExceptionTimer);
|
TimeRegion Timer(ExceptionTimer);
|
||||||
shouldEmitTable = shouldEmitMoves = false;
|
shouldEmitTable = shouldEmitMoves = false;
|
||||||
|
|
||||||
|
@@ -14,18 +14,23 @@
|
|||||||
#ifndef LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
|
#ifndef LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
|
||||||
#define LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
|
#define LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
|
||||||
|
|
||||||
#include "llvm/CodeGen/AsmPrinter.h"
|
|
||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include <string>
|
#include <vector>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
template <typename T> class SmallVectorImpl;
|
||||||
struct LandingPadInfo;
|
struct LandingPadInfo;
|
||||||
class MachineModuleInfo;
|
class MachineModuleInfo;
|
||||||
|
class MachineMove;
|
||||||
|
class MachineInstr;
|
||||||
|
class MachineFunction;
|
||||||
class MCAsmInfo;
|
class MCAsmInfo;
|
||||||
class MCExpr;
|
class MCExpr;
|
||||||
|
class MCSymbol;
|
||||||
class Timer;
|
class Timer;
|
||||||
class raw_ostream;
|
class Function;
|
||||||
|
class AsmPrinter;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
/// DwarfException - Emits Dwarf exception handling directives.
|
/// DwarfException - Emits Dwarf exception handling directives.
|
||||||
|
Reference in New Issue
Block a user