Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eof: Implement stack height calculation #15555

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

rodiazet
Copy link
Contributor

Depends on: #15550

Copy link

Thank you for your contribution to the Solidity compiler! A team member will follow up shortly.

If you haven't read our contributing guidelines and our review checklist before, please do it now, this makes the reviewing process and accepting your contribution smoother.

If you have any questions or need our help, feel free to post them in the PR or talk to us directly on the #solidity-dev channel on Matrix.

@cameel cameel added has dependencies The PR depends on other PRs that must be merged first EOF labels Oct 30, 2024
@rodiazet rodiazet force-pushed the stack-height branch 3 times, most recently from 2ae7088 to 692ec4d Compare October 30, 2024 21:49

uint16_t calculateMaxStackHeight(AssemblyItems const& _items, uint16_t _args)
{
static auto constexpr LOC_UNVISITED = std::numeric_limits<size_t>::max();
Copy link
Member

Choose a reason for hiding this comment

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

What is LOC?

Suggested change
static auto constexpr LOC_UNVISITED = std::numeric_limits<size_t>::max();
static auto constexpr UNVISITED = std::numeric_limits<size_t>::max();

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's taken from evmone. It's LOCation :)

@rodiazet rodiazet changed the title eof: Stack height calculation eof: Implement stack height calculation Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EOF external contribution ⭐ has dependencies The PR depends on other PRs that must be merged first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants