Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API for performing analysis in Liveness #6642

Merged
merged 1 commit into from
Aug 7, 2022

Conversation

kevindean12
Copy link
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
Contributor Author

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

@@ -852,6 +852,7 @@ class TR_Liveness : public TR_BackwardUnionBitVectorAnalysis
TR_LiveVariableInformation *getLiveVariableInfo() { return _liveVariableInfo; }
virtual Kind getKind();
virtual TR_Liveness *asLiveness();
virtual void perform(TR_Structure *rootStructure) {}
Copy link
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
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
Copy link
Contributor

0xdaryl commented Aug 5, 2022

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.

None yet

2 participants