Skip to content

Add API for performing analysis in Liveness - #6642

Merged
0xdaryl merged 1 commit into
eclipse-omr:masterfrom
kevindean12:perform-liveness
Aug 7, 2022
Merged

Add API for performing analysis in Liveness#6642
0xdaryl merged 1 commit into
eclipse-omr:masterfrom
kevindean12:perform-liveness

Conversation

@kevindean12

Copy link
Copy Markdown
Contributor

Add a perform() method with empty implementation in TR_Liveness to prepare for PR #6612 that splits out analysis from the constructor.

@kevindean12

Copy link
Copy Markdown
Contributor Author

@0xdaryl tagging you here just so you'll see this when you're ready.

TR_LiveVariableInformation *getLiveVariableInfo() { return _liveVariableInfo; }
virtual Kind getKind();
virtual TR_Liveness *asLiveness();
virtual void perform(TR_Structure *rootStructure) {}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a Doxygen comment to this API? e.g.,

/**
 * @brief Perform a liveness analysis on the given \c TR_Structure
 * 
 * @param[in] rootStructure : \c TR_Structure to perform a liveness analysis over
 * 
 * @return none
 */

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I've added the comment.

-empty implementation to prepare for future commit that splits out
analysis from the constructor
@0xdaryl 0xdaryl self-assigned this Aug 5, 2022
@0xdaryl

0xdaryl commented Aug 5, 2022

Copy link
Copy Markdown
Contributor

Jenkins build all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants