Skip to content

refactor(ap-change): remove unused payload from EnableStatement tracking base#9707

Open
conomist wants to merge 1 commit intostarkware-libs:mainfrom
conomist:patch-24
Open

refactor(ap-change): remove unused payload from EnableStatement tracking base#9707
conomist wants to merge 1 commit intostarkware-libs:mainfrom
conomist:patch-24

Conversation

@conomist
Copy link
Contributor

Remove unused StatementIdx payload from ApTrackingBase::EnableStatement.
Replace EnableStatement(StatementIdx) with unit variant EnableStatement.
Drop obsolete #[expect(dead_code)] attribute that is no longer needed.

@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@orizi orizi left a comment

Choose a reason for hiding this comment

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

@orizi made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on conomist).


crates/cairo-lang-sierra-ap-change/src/compute.rs line 37 at r1 (raw file):

enum ApTrackingBase {
    FunctionStart(FunctionId),
    EnableStatement,

there on purpose. close PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants