Recognize client-local native values in optimizer locality analysis - #1221
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 72069bb263
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d39511399a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ab48151cdd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 49ed91f185
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: baba1e2b05
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // Localized data may vary with the client's language. | ||
| "GetLocalizedString", | ||
| "GetLocalizedHotkey", | ||
| "GetObjectName", |
There was a problem hiding this comment.
Seed SkinManagerGetLocalPath as a locality source
When clients use different UI skins, SkinManagerGetLocalPath (declared in common.j:3443) can return different asset paths without map code mutating local state. Because it is omitted here, a condition derived from that path remains untainted and BranchMerger may hoist synchronized work across client-local control flow; include this native and add a behavioral regression covering the branch-merger case.
AGENTS.md reference: AGENTS.md:L63-L63
Useful? React with 👍 / 👎.
What changed
LocalPlayerContextAnalyzerBranchMergerdoes not hoist across a stored camera-derived conditionWhy
The optimizer locality analysis previously seeded taint only from
GetLocalPlayer(). Other asynchronous or client-local native values could therefore look synchronized to optimizer passes, allowing control-flow rewrites across those conditions.Validation
OptimizerTests: passedBUILD SUCCESSFUL)git diff --check: passed