Skip to content

Conversation

@hvitved
Copy link
Contributor

@hvitved hvitved commented Jul 9, 2024

This PR adopts the newly introduced shared SSA data-flow integration layer.

@github-actions github-actions bot added the Ruby label Jul 9, 2024
Comment on lines 1329 to 1332
e = DfInput::getARead(_)
or
DfInput::ssaDefAssigns(_, e) and
isPost = false

Check warning

Code scanning / CodeQL

Var only used in one side of disjunct.

The [variable isPost](1) is only used in one side of disjunct.
@hvitved hvitved force-pushed the ruby/ssa-integration branch 2 times, most recently from bc543bc to 1090f52 Compare July 11, 2024 09:51
Comment on lines 1330 to 1339
e = DfInput::getARead(_)
or
DfInput::ssaDefAssigns(_, e) and
isPost = false

Check warning

Code scanning / CodeQL

Var only used in one side of disjunct.

The [variable isPost](1) is only used in one side of disjunct.
@hvitved hvitved force-pushed the ruby/ssa-integration branch 2 times, most recently from 7280dbc to e17c067 Compare July 11, 2024 19:41
Comment on lines 1356 to 1340
e = DfInput::getARead(_)
or
exists(DefinitionExt def |
DfInput::ssaDefAssigns(def, e) and
hasCertainRead(def) and
isPost = false
)

Check warning

Code scanning / CodeQL

Var only used in one side of disjunct.

The [variable isPost](1) is only used in one side of disjunct.
@hvitved hvitved force-pushed the ruby/ssa-integration branch from 4ff0306 to 6290a2d Compare July 12, 2024 09:05

private newtype TNode =
TParamNode(DfInput::Parameter p) {
exists(WriteDefinition def | DfInput::ssaDefInitializesParam(def, p))

Check warning

Code scanning / CodeQL

Omittable 'exists' variable

This exists variable can be omitted by using a don't-care expression [in this argument](1).
@hvitved hvitved force-pushed the ruby/ssa-integration branch from 6290a2d to 9263977 Compare July 12, 2024 12:23
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Jul 12, 2024
@hvitved hvitved marked this pull request as ready for review July 12, 2024 19:01
@hvitved hvitved requested a review from a team as a code owner July 12, 2024 19:01
Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

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

Looks plausible to me.

@hvitved hvitved merged commit 87c5627 into github:main Aug 6, 2024
@hvitved hvitved deleted the ruby/ssa-integration branch August 6, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Ruby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants