aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFrameInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 05:43:16 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 05:43:16 +0000
commit655d82820cf0c86e162ab9b702333c1607734676 (patch)
tree0e1d2ba012997b6cf7d821a39cf8f606ca560a5f /include/llvm/CodeGen/MachineFrameInfo.h
parent2b1b3312e043858e89b0b1eddc2f839bef892c8d (diff)
prune #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFrameInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index 973c9b91a9..7f90c27365 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -14,12 +14,9 @@
#ifndef LLVM_CODEGEN_MACHINEFRAMEINFO_H
#define LLVM_CODEGEN_MACHINEFRAMEINFO_H
-#include "llvm/ADT/BitVector.h"
-#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/System/DataTypes.h"
#include <cassert>
-#include <limits>
#include <vector>
namespace llvm {
@@ -31,22 +28,18 @@ class MachineModuleInfo;
class MachineFunction;
class MachineBasicBlock;
class TargetFrameInfo;
+class BitVector;
/// The CalleeSavedInfo class tracks the information need to locate where a
/// callee saved register in the current frame.
class CalleeSavedInfo {
-
-private:
unsigned Reg;
const TargetRegisterClass *RegClass;
int FrameIdx;
public:
CalleeSavedInfo(unsigned R, const TargetRegisterClass *RC, int FI = 0)
- : Reg(R)
- , RegClass(RC)
- , FrameIdx(FI)
- {}
+ : Reg(R), RegClass(RC), FrameIdx(FI) {}
// Accessors.
unsigned getReg() const { return Reg; }