fixupCopy.h File Reference

Go to the source code of this file.

Defines

#define DEBUG_FIXUP_COPY   0
#define DEBUG_FIXUP_COPY_OUTPUT_MAP   0
#define FixupCopyDataMemberMacro(IR_node_copy, IR_node_type, get_accessFunctionName, set_accessFunctionName)

Functions

void outputMap (SgCopyHelp &help)


Define Documentation

#define DEBUG_FIXUP_COPY   0

Definition at line 5 of file fixupCopy.h.

#define DEBUG_FIXUP_COPY_OUTPUT_MAP   0

Definition at line 6 of file fixupCopy.h.

#define FixupCopyDataMemberMacro ( IR_node_copy,
IR_node_type,
get_accessFunctionName,
set_accessFunctionName   ) 

Value:

if (IR_node_copy->get_accessFunctionName() == this->get_accessFunctionName())                                       \
        {                                                                                                                \
          SgCopyHelp::copiedNodeMapTypeIterator i = help.get_copiedNodeMap().find(this->get_accessFunctionName());       \
          if (i != help.get_copiedNodeMap().end())                                                                       \
             {                                                                                                           \
               SgNode* associated_node_copy = i->second;                                                                 \
               ROSE_ASSERT(associated_node_copy != NULL);                                                                \
               IR_node_type* local_copy = is##IR_node_type(associated_node_copy);                                        \
               ROSE_ASSERT(local_copy != NULL);                                                                          \
               IR_node_copy->set_accessFunctionName(local_copy);                                                         \
             }                                                                                                           \
          ROSE_ASSERT(IR_node_copy->get_accessFunctionName()->variantT() == this->get_accessFunctionName()->variantT()); \
        }

Definition at line 33 of file fixupCopy.h.


Function Documentation

void outputMap ( SgCopyHelp help  ) 


Generated on Sat May 19 00:53:46 2012 for ROSE by  doxygen 1.4.7