From 9085d8a9a9000eeaa7cf337ccbdca41d528c99c2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 16 Jan 2003 18:35:57 +0000 Subject: Print machine frame objects with the frame offset intrinsic to the machine git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5329 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineFrameInfo.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/llvm/CodeGen') 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 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 -- cgit v1.2.3-70-g09d2