⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@frangio
Copy link

@frangio frangio commented Jan 30, 2026

As mentioned in #1428 this was coded by AI and I don't have enough context to judge it.

++code_pos;
}
else
rollback_block();
Copy link
Author

@frangio frangio Jan 30, 2026

Choose a reason for hiding this comment

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

This rollback approach doesn't look great to me.

@chfast What do you think? How should "conditional" stack change be implemented?

It's not exactly conditional either because either the stack height changes (on DUPN) or the frame reverts due to invalid instruction.

Copy link
Member

Choose a reason for hiding this comment

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

You can ignore the advanced interpreter (disable it in relevant unit tests).

Copy link
Author

Choose a reason for hiding this comment

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

Removed changes to the advanced interpreter.

@frangio frangio force-pushed the eip-8024 branch 2 times, most recently from 3fc2e51 to d7c8b12 Compare January 30, 2026 20:40
@frangio frangio marked this pull request as ready for review January 30, 2026 20:44
@frangio frangio marked this pull request as draft January 30, 2026 20:51
@frangio frangio marked this pull request as ready for review January 30, 2026 21:05
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.

2 participants