Skip to content

Remove EOF: Replace code sections with one section in Assembly and LinkerObject.#16757

Open
rodiazet wants to merge 2 commits into
remove-eof-testing-infrafrom
eof/replace-vector-code-section
Open

Remove EOF: Replace code sections with one section in Assembly and LinkerObject.#16757
rodiazet wants to merge 2 commits into
remove-eof-testing-infrafrom
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 #16773

@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
@rodiazet rodiazet added the EOF label May 25, 2026
@rodiazet rodiazet changed the base branch from remove-eof to remove-eof-testing-infra May 27, 2026 12:04
@rodiazet rodiazet force-pushed the remove-eof-testing-infra branch 2 times, most recently from 2abe5b3 to 3f5e320 Compare May 29, 2026 15:09
@rodiazet rodiazet force-pushed the eof/replace-vector-code-section branch from cf4659c to a6de376 Compare May 29, 2026 15:12
rodiazet added 2 commits May 29, 2026 17:38
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.
…ion in LinkerObject.

Since EOF is removed there is always exactly one code section.
Replace std::vector<CodeSectionLocation> codeSectionLocations with a
scalar CodeSectionLocation codeSectionLocation. Also remove the now
duplicate programInstructions overload left behind in Ethdebug.cpp.
@rodiazet rodiazet force-pushed the eof/replace-vector-code-section branch from a6de376 to c9776f3 Compare May 29, 2026 15:42
@rodiazet rodiazet changed the title Remove EOF: Replace std::vector<CodeSection> evmasm:: Assembly::m_codeSections with AssemblyItems. Remove EOF: Replace code sections with one section in Assembly and LinkerObject. May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EOF 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