From bff68fd469077499c8c3e93d5fbe3cf4641e9fb4 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Tue, 28 Sep 2021 17:26:34 +0200 Subject: [PATCH] [docs] Adds a note on source mappings and verbatim opcodes. --- docs/internals/source_mappings.rst | 3 +++ docs/yul.rst | 2 ++ 2 files changed, 5 insertions(+) diff --git a/docs/internals/source_mappings.rst b/docs/internals/source_mappings.rst index fbb84e2d1..f70226720 100644 --- a/docs/internals/source_mappings.rst +++ b/docs/internals/source_mappings.rst @@ -64,3 +64,6 @@ This means the following source mappings represent the same information: ``1:2:1;1:9:1;2:1:2;2:1:2;2:1:2`` ``1:2:1;:9;2:1:2;;`` + +Important to note is that :ref:`verbatim ` verbatim instructions +do not have individual but only one source mapping. diff --git a/docs/yul.rst b/docs/yul.rst index e4819ff22..0a90a2825 100644 --- a/docs/yul.rst +++ b/docs/yul.rst @@ -1002,6 +1002,8 @@ within one Yul subobject. If at least one ``memoryguard`` call is found in a sub the additional optimiser steps will be run on it. +.. _yul-verbatim: + verbatim ^^^^^^^^