aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFrameInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/MachineFrameInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index 45a24cc70b..6f907e1ff3 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -33,6 +33,7 @@
class TargetData;
class TargetRegisterClass;
+class MachineFunction;
#include <vector>
class MachineFrameInfo {
@@ -205,10 +206,10 @@ public:
/// print - Used by the MachineFunction printer to print information about
/// stack objects. Implemented in MachineFunction.cpp
///
- void print(std::ostream &OS) const;
+ void print(const MachineFunction &MF, std::ostream &OS) const;
- /// dump - Call print(std::cerr) to be called from the debugger.
- void dump() const;
+ /// dump - Call print(MF, std::cerr) to be called from the debugger.
+ void dump(const MachineFunction &MF) const;
};
#endif