Skip to content

refactor(interpreter): unify call handlers#3626

Open
DaniPopes wants to merge 2 commits intobluealloy:mainfrom
DaniPopes:unify-call-handlers
Open

refactor(interpreter): unify call handlers#3626
DaniPopes wants to merge 2 commits intobluealloy:mainfrom
DaniPopes:unify-call-handlers

Conversation

@DaniPopes
Copy link
Copy Markdown
Collaborator

@DaniPopes DaniPopes commented Apr 28, 2026

This unifies the interpreter CALL, CALLCODE, DELEGATECALL, and STATICCALL handlers into a single const-generic handler keyed by opcode kind, matching the shared handling used by revmc. It also moves the CALL kind and CREATE2 boolean const parameters to the front of their generic parameter lists for clearer instruction table instantiation.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 28, 2026

Merging this PR will improve performance by 4.14%

⚡ 2 improved benchmarks
✅ 174 untouched benchmarks
⏩ 1 skipped benchmark1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation EXTCODECOPY_50 51.4 µs 49.3 µs +4.14%
Simulation transfer_finalize 17.1 µs 16.5 µs +3.59%

Comparing DaniPopes:unify-call-handlers (e1e61a2) with main (6b82179)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports.

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.

1 participant