mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
ossfuzz: Remove PC from yul proto specification
This commit is contained in:
parent
894478ff8c
commit
61431d2c59
@ -622,9 +622,6 @@ void ProtoConverter::visit(NullaryOp const& _x)
|
|||||||
{
|
{
|
||||||
switch (_x.op())
|
switch (_x.op())
|
||||||
{
|
{
|
||||||
case NullaryOp::PC:
|
|
||||||
m_output << "pc()";
|
|
||||||
break;
|
|
||||||
case NullaryOp::MSIZE:
|
case NullaryOp::MSIZE:
|
||||||
m_output << "msize()";
|
m_output << "msize()";
|
||||||
break;
|
break;
|
||||||
|
@ -214,24 +214,23 @@ message ExtCodeCopy {
|
|||||||
|
|
||||||
message NullaryOp {
|
message NullaryOp {
|
||||||
enum NOp {
|
enum NOp {
|
||||||
PC = 1;
|
MSIZE = 1;
|
||||||
MSIZE = 2;
|
GAS = 2;
|
||||||
GAS = 3;
|
CALLDATASIZE = 3;
|
||||||
CALLDATASIZE = 4;
|
CODESIZE = 4;
|
||||||
CODESIZE = 5;
|
RETURNDATASIZE = 5;
|
||||||
RETURNDATASIZE = 6;
|
ADDRESS = 6;
|
||||||
ADDRESS = 7;
|
ORIGIN = 7;
|
||||||
ORIGIN = 8;
|
CALLER = 8;
|
||||||
CALLER = 9;
|
CALLVALUE = 9;
|
||||||
CALLVALUE = 10;
|
GASPRICE = 10;
|
||||||
GASPRICE = 11;
|
COINBASE = 11;
|
||||||
COINBASE = 12;
|
TIMESTAMP = 12;
|
||||||
TIMESTAMP = 13;
|
NUMBER = 13;
|
||||||
NUMBER = 14;
|
DIFFICULTY = 14;
|
||||||
DIFFICULTY = 15;
|
GASLIMIT = 15;
|
||||||
GASLIMIT = 16;
|
SELFBALANCE = 16;
|
||||||
SELFBALANCE = 17;
|
CHAINID = 17;
|
||||||
CHAINID = 18;
|
|
||||||
}
|
}
|
||||||
required NOp op = 1;
|
required NOp op = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user