EIP-2315
Simple Subroutines for the EVM
Two opcodes for efficient, safe, and static subroutines.
WithdrawnSplurge
Status history
- Draft17 Oct 2019
- Withdrawndate not observed
Abstract
This proposal provides a complete, efficient, safe and static control-flow facility. It introduces two new opcodes to support calling and returning from subroutines: * RJUMPSUB relative_offset -- relative jump to subroutine * RETURNSUB -- return to PC after most recent RJUMPSUB. It depends on the two new opcodes proposed by EIP-4200 to support static jumps: * RJUMP relative_offset — relative jump…