Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Go: improve path summary by changing post update nodes#13473

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@owen-mc
Copy link
Contributor

Cf.this comment and the surrounding discussion.

This PR adds new data-flow nodes which are used for post-update nodes. This means that the post-update node will now be in the expected place. This should make path summaries easier to understand.

MkImplicitVarargsSlice(CallExprc){c.hasImplicitVarargs()}or
MkFlowSummaryNode(FlowSummaryImpl::Private::SummaryNodesn)
MkFlowSummaryNode(FlowSummaryImpl::Private::SummaryNodesn)or
MkPostUpdateNode(IR::Instructioninsn){insn=updatedInstruction()}
Copy link
Contributor

Choose a reason for hiding this comment

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

getAnUpdatedInstruction

result= IR::evalExprInstruction(any(SendStmts).getChannel())
}

private IR::InstructiongetAccessPathPredecessor2(IR::Instructioninsn){
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like getAWrittenNode is now unused, so we could remove that and getAccessPathPredecessor then remove the2 here

result=getAWrittenInstruction()
}

privateExprupdatedExpr(){
Copy link
Contributor

Choose a reason for hiding this comment

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

getAn...

@owen-mcowen-mcforce-pushed thego/improve-path-summary-by-changin-post-update-nodes branch from9ea23c1 to9e4f4faCompareJune 16, 2023 10:05
@owen-mc
Copy link
ContributorAuthor

Not needed now we have proper post-update nodes in#14751.

@owen-mcowen-mc closed thisOct 3, 2025
@owen-mcowen-mc deleted the go/improve-path-summary-by-changin-post-update-nodes branchOctober 5, 2025 21:05
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@smowtonsmowtonsmowton left review comments

Copilot code reviewCopilotAwaiting requested review from CopilotCopilot will automatically review once the pull request is marked ready for review

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@owen-mc@smowton

[8]ページ先頭

©2009-2025 Movatter.jp