Skip to content

Commit 7552012

Browse files
committed
docs/yul: pc is dissalowed in solc yul
pc was removed from solc assembly in 0.7.0 (it introduced an unwelcome semantic dependency on code location).
1 parent 17c3614 commit 7552012

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/yul.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,8 +820,6 @@ the ``dup`` and ``swap`` instructions as well as ``jump`` instructions, labels a
820820
+-------------------------+-----+---+-----------------------------------------------------------------+
821821
| keccak256(p, n) | | F | keccak(mem[p...(p+n))) |
822822
+-------------------------+-----+---+-----------------------------------------------------------------+
823-
| pc() | | F | current position in code |
824-
+-------------------------+-----+---+-----------------------------------------------------------------+
825823
| pop(x) | `-` | F | discard value x |
826824
+-------------------------+-----+---+-----------------------------------------------------------------+
827825
| mload(p) | | F | mem[p...(p+32)) |

0 commit comments

Comments
 (0)