"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/frontend/SageIII/sageInterface/sageInterface.h" between
rose-0.11.49.0.tar.gz and rose-0.11.50.0.tar.gz

About: ROSE is a compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C, C++, UPC, Fortran, OpenMP, Java, Python and PHP applications.

sageInterface.h  (rose-0.11.49.0):sageInterface.h  (rose-0.11.50.0)
skipping to change at line 2327 skipping to change at line 2327
ROSE_DLL_API void constantFolding(SgNode* r); ROSE_DLL_API void constantFolding(SgNode* r);
//!Instrument(Add a statement, often a function call) into a function right befo re the return points, handle multiple return statements (with duplicated stateme nt s) and return expressions with side effects. Return the number of statements inserted. //!Instrument(Add a statement, often a function call) into a function right befo re the return points, handle multiple return statements (with duplicated stateme nt s) and return expressions with side effects. Return the number of statements inserted.
/*! Useful when adding a runtime library call to terminate the runtime system ri ght before the end of a program, especially for OpenMP and UPC runtime systems. Return with complex expressions with side effects are rewritten using an additio nal assignment statement. /*! Useful when adding a runtime library call to terminate the runtime system ri ght before the end of a program, especially for OpenMP and UPC runtime systems. Return with complex expressions with side effects are rewritten using an additio nal assignment statement.
*/ */
ROSE_DLL_API int instrumentEndOfFunction(SgFunctionDeclaration * func, SgStateme nt* s); ROSE_DLL_API int instrumentEndOfFunction(SgFunctionDeclaration * func, SgStateme nt* s);
//! Remove jumps whose label is immediately after the jump. Used to clean up in lined code fragments. //! Remove jumps whose label is immediately after the jump. Used to clean up in lined code fragments.
ROSE_DLL_API void removeJumpsToNextStatement(SgNode*); ROSE_DLL_API void removeJumpsToNextStatement(SgNode*);
//! Remove labels which are not targets of any goto statements //! Remove labels which are not targets of any goto statements: its child statem
ROSE_DLL_API void removeUnusedLabels(SgNode* top); ent is also removed by default.
ROSE_DLL_API void removeUnusedLabels(SgNode* top, bool keepChild =false);
//! Find unused labels which are not targets of any goto statements
ROSE_DLL_API std::set<SgLabelStatement*> findUnusedLabels (SgNode* top);
//! Remove consecutive labels //! Remove consecutive labels
ROSE_DLL_API void removeConsecutiveLabels(SgNode* top); ROSE_DLL_API void removeConsecutiveLabels(SgNode* top);
//! Merge a variable assignment statement into a matching variable declaration s tatement. Callers should make sure the merge is semantically correct (by not int roducing compilation errors). This function simply does the merge transformation , without eligibility check. //! Merge a variable assignment statement into a matching variable declaration s tatement. Callers should make sure the merge is semantically correct (by not int roducing compilation errors). This function simply does the merge transformation , without eligibility check.
/*! /*!
* e.g. int i; i=10; becomes int i=10; the original i=10 will be deleted af ter the merge * e.g. int i; i=10; becomes int i=10; the original i=10 will be deleted af ter the merge
* if success, return true, otherwise return false (e.g. variable declaration d oes not match or already has an initializer) * if success, return true, otherwise return false (e.g. variable declaration d oes not match or already has an initializer)
* The original assignment stmt will be removed by default * The original assignment stmt will be removed by default
* This function is a bit ambiguous about the merge direction, to be phased out . * This function is a bit ambiguous about the merge direction, to be phased out .
 End of changes. 1 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)