Skip to content

Remove EOF: Replace std::vector<CodeSection> evmasm:: Assembly::m_codeSections with AssemblyItems.#16757

Open
rodiazet wants to merge 1 commit into
remove-eoffrom
eof/replace-vector-code-section
Open

Remove EOF: Replace std::vector<CodeSection> evmasm:: Assembly::m_codeSections with AssemblyItems.#16757
rodiazet wants to merge 1 commit into
remove-eoffrom
eof/replace-vector-code-section

Conversation

@rodiazet
Copy link
Copy Markdown
Contributor

@rodiazet rodiazet commented May 21, 2026

Without EOF we have only one code section. No need to support code sections any more.

  • No AI tools were used
  • AI tools were used (details below)
    Partially made by Claude Sonnet 4.6

Depends on #16584

Since EOF is removed there is only ever one code section. Replace
m_codeSections (vector) and m_currentCodeSection with an
m_items member and rename the accessor from codeSections()
to items(). Also remove the now-unused inputs/outputs/
nonReturning fields from the CodeSection struct.
@rodiazet rodiazet added the has dependencies The PR depends on other PRs that must be merged first label May 21, 2026
@rodiazet rodiazet changed the title Replace std::vector<CodeSection> evmasm:: Assembly::m_codeSections with AssemblyItems. Remove EOF: Replace std::vector<CodeSection> evmasm:: Assembly::m_codeSections with AssemblyItems. May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

1 participant