From 40322fa70326ba55928bb4f1757507e421823d5a Mon Sep 17 00:00:00 2001 From: Harikrishnan Mulackal Date: Thu, 2 Jul 2020 16:44:31 +0530 Subject: [PATCH] Added jumpdest to yul doc. --- docs/yul.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/yul.rst b/docs/yul.rst index 2e8bc4a10..1b6ad61be 100644 --- a/docs/yul.rst +++ b/docs/yul.rst @@ -30,7 +30,7 @@ The design of Yul tries to achieve several goals: In order to achieve the first and second goal, Yul provides high-level constructs like ``for`` loops, ``if`` and ``switch`` statements and function calls. These should be sufficient for adequately representing the control flow for assembly programs. -Therefore, no explicit statements for ``SWAP``, ``DUP``, ``JUMP`` and ``JUMPI`` +Therefore, no explicit statements for ``SWAP``, ``DUP``, ``JUMPDEST``, ``JUMP`` and ``JUMPI`` are provided, because the first two obfuscate the data flow and the last two obfuscate control flow. Furthermore, functional statements of the form ``mul(add(x, y), 7)`` are preferred over pure opcode statements like