正在加载图片...
Activation Records (cont.) The returned value of the called procedure is returned return value in this field to the calling procedure.In practice,we may use a machine register for the return value. actual parameters The field for actual parameters is used by the calling procedure to supply parameters to the called procedure. optional control link The optional control link points to the activation record of the caller. optional access link The optional access link is used to refer to nonlocal data held in other activation records. saved machine status The field for saved machine status holds information about local data the state of the machine before the procedure is called. The field of local data holds data that local to an execution temporaries of a procedure.. Temporay variables is stored in the field of temporaries. CS308 Compiler Theory 11Activation Records (cont.) return value The returned value of the called procedure is returned return value in this field to the callin g procedure. In practice, we ma y actual parameters gp p , y use a machine register for the return value. The field for actual parameters is used by the calling procedure to supply parameters to the called procedure optional control link procedure to supply parameters to the called procedure. The optional control link points to the activation record of the caller. optional access link saved machine status The optional access link is used to refer to nonlocal data held in other activation records. local data The field for saved machine status holds information about the state of the machine before the procedure is called. The field of local data holds data that local to an execution temporaries The field of local data holds data that local to an execution of a procedure.. Temporay variables is stored in the field of temporaries. CS308 Compiler Theory 11
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有