Merge pull request #8913 from ethereum/yul-remove-pc-instr

Mark EVM instruction `pc()` as deprecated when used in inline assembly.
This commit is contained in:
chriseth
2020-05-27 12:10:32 +02:00
committed by GitHub
11 changed files with 74 additions and 31 deletions
@@ -0,0 +1,9 @@
contract C {
function f() pure public {
assembly {
pop(pc())
}
}
}
// ----
// Warning: (61-63): The "pc" instruction is deprecated and will be removed in the next breaking release.