EIP Radar
@ 1a086d5 ·
EIP-2315

Simple Subroutines for the EVM

Two opcodes for efficient, safe, and static subroutines.

WithdrawnSplurge

Status history

  1. Draft17 Oct 2019
  2. 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…

Created
17 Oct 2019
Withdrawn because
This proposal has been superseded by the EOF proposals.
Authors
Greg Colvin, Martin Holst Swende, Brooklyn Zelenka, John Max Skaller
Upgrades
Not listed in any upgrade
Requires
EIP-3540EIP-3670EIP-4200
Required by
EIP-4573