Fix undefined behavior in the Mips backend.
[oota-llvm.git] / lib / Target / Mips / MipsSelectionDAGInfo.h
1 //===-- MipsSelectionDAGInfo.h - Mips SelectionDAG Info ---------*- 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 defines the Mips subclass for TargetSelectionDAGInfo.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef MIPSSELECTIONDAGINFO_H
15 #define MIPSSELECTIONDAGINFO_H
16
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
18
19 namespace llvm {
20
21 class MipsTargetMachine;
22
23 class MipsSelectionDAGInfo : public TargetSelectionDAGInfo {
24 public:
25   explicit MipsSelectionDAGInfo(const MipsTargetMachine &TM);
26   ~MipsSelectionDAGInfo();
27 };
28
29 }
30
31 #endif