LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Local variable stored in the stack frame. More...
#include <access.hh>
Public Member Functions | |
In_Frame (int offset) | |
int | offset_get () const |
The offset of this Access. | |
virtual std::ostream & | dump (std::ostream &ostr) const override |
Used for debugging. | |
virtual tree::rExp | exp (const tree::rExp &fp) const override |
virtual In_Frame * | clone () const override |
virtual tree::rExp | exp () const |
Return a Tree expression that gives the location of THIS. If it is in the frame, then the result is something like Mem (Temp fp + OFFSET). |
Private Attributes | |
int | offset_ |
The offset from the frame pointer referenced by this Access. |
Local variable stored in the stack frame.
frame::In_Frame::In_Frame | ( | int | offset | ) |
Referenced by clone().
|
overridevirtual |
|
overridevirtual |
|
virtualinherited |
Return a Tree expression that gives the location of THIS. If it is in the frame, then the result is something like Mem (Temp fp + OFFSET).
Referenced by translate::Access::exp().
|
overridevirtual |
|
inline |
|
private |
The offset from the frame pointer referenced by this Access.
Referenced by dump(), exp(), and offset_get().