ossfuzz: Remove PC from yul proto specification

This commit is contained in:
Bhargava Shastry 2020-05-27 16:59:43 +02:00
parent 894478ff8c
commit 61431d2c59
2 changed files with 17 additions and 21 deletions

View File

@ -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;

View File

@ -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;
} }