ROSE  0.11.145.0
Functions
AST_FileIO Namespace Reference

Description

This Namespace supports the file I/O for the AST.

Functions

SgNodeIS_VALID_POINTER ()
 This function returns a static pointer used with SgNode::p_freepointer. More...
 
SgNodeTO_BE_COPIED_POINTER ()
 Similar value as above function for reprentation of subsets of the AST.
 

Function Documentation

SgNode* AST_FileIO::IS_VALID_POINTER ( )

This function returns a static pointer used with SgNode::p_freepointer.

This function returns returns an internally held (function local data) static pointer value used by SgNode::p_freepointer to identify non-NULL value representing valid IR node in memory pool. A NULL pointer represents last entry in the memory pool. This value allows us to distinguish the entries, and not require additional memory storage on each IR node.